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>
This commit is contained in:
Max
2024-01-11 15:25:08 -05:00
committed by GitHub
parent ddce4d0bdb
commit 76427c9f13
9 changed files with 72 additions and 3 deletions

View File

@@ -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",