adds prod container and fixes build issues

This commit is contained in:
2025-08-03 11:38:09 +02:00
parent 1aa28f978d
commit 898e275809
6 changed files with 25 additions and 5 deletions
+10
View File
@@ -20,6 +20,16 @@ services:
- "3001:3000"
networks:
- app_network
prod:
image: node:20
working_dir: /app/frontend
volumes:
- ./frontend:/app/frontend
command: sh -c "npm install && npx next build && npx next start"
ports:
- "3003:3000"
networks:
- app_network
networks:
app_network: