update for pc server
This commit is contained in:
@@ -24,12 +24,21 @@ services:
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://user:password@db/testarena
|
||||
- SCRIPTS_DIR=/app/scripts
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
- app-network
|
||||
restart: always
|
||||
|
||||
frontend-builder:
|
||||
image: node:18-alpine
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
command: sh -c "npm install && npm run build"
|
||||
profiles:
|
||||
- tools
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
networks:
|
||||
app-network:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user