chore(docker): add .dockerignore and update Dockerfile

Add .dockerignore to exclude node_modules, .git, coverage, .env.
Update Dockerfile to install nodejs/npm, copy package.json, run npm install, and build.
Update compose.prod.yml to set working_dir, restart no, and use array command.
Move drizzle-kit from devDependencies to dependencies.
This commit is contained in:
2026-04-27 17:29:31 +02:00
parent 378cbb0c06
commit 757e364af0
4 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -1,12 +1,12 @@
{
"dependencies": {
"dotenv": "^17.4.0",
"drizzle-kit": "^0.31.10",
"drizzle-orm": "^0.45.2",
"pg": "^8.20.0"
},
"devDependencies": {
"@types/pg": "^8.20.0",
"drizzle-kit": "^0.31.10",
"tsx": "^4.21.0"
}
}