feat: Configure Docker setup with Dockerfile and update docker-compose.yml for development

This commit is contained in:
Puechberty Arthur
2026-03-31 22:50:02 +02:00
parent 62c898c208
commit c7468500cd
2 changed files with 42 additions and 7 deletions
+8 -7
View File
@@ -1,10 +1,11 @@
services:
sudoku-app:
image: node:20-alpine
working_dir: /app
web:
build: .
ports:
- "3000:3000"
volumes:
- ./:/app
command: sh -c "npm install && npm run build && npm start"
ports:
- "3005:3000"
restart: unless-stopped
- /app/node_modules
environment:
- NODE_ENV=development
command: npm run dev