adds prod container and fixes build issues
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user