aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorMax <Max-TheCat@users.noreply.github.com>2024-01-11 15:25:08 -0500
committerGitHub <noreply@github.com>2024-01-11 15:25:08 -0500
commit76427c9f130adb90f90cccc84b92dd49f5147ed5 (patch)
tree5e1ac61ffaff7040e3b85a98cee9f4fd11dac54a /package.json
parentddce4d0bdbf657de1bf11ce2722ed0435868e41d (diff)
Docker container version (#39)
* + Dockerfile and compose file + Scripts dir and startup script + Build image npm script * * Moves env to file * + Tags image with info from package.json * Moves image creation to script * Updates README * Update README.md Co-authored-by: Sebastien Castiel <sebastien@castiel.me> --------- Co-authored-by: Maxime Jacob <mjacob-no-reply@proton.me> Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json
index 23bd680..fb15f06 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,9 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
- "postinstall": "prisma migrate deploy && prisma generate"
+ "postinstall": "prisma migrate deploy && prisma generate",
+ "build-image": "./scripts/build-image.sh",
+ "start-container": "docker compose --env-file container.env up"
},
"dependencies": {
"@hookform/resolvers": "^3.3.2",