Skip to content

Commit 97951b2

Browse files
FIXED: removed .env file dependency
1 parent ff9090d commit 97951b2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,10 @@ services:
9595
dockerfile: Dockerfile.prod
9696
ports:
9797
- "${WEB_PORT:-5173}:5173"
98-
env_file:
99-
- .env.production
98+
environment:
99+
- VITE_API_URL=${VITE_API_URL:-http://localhost:4000}
100+
- WEB_PORT=${WEB_PORT:-5173}
101+
- NODE_ENV=${NODE_ENV:-production}
100102
networks:
101103
- judge_net
102104
depends_on:

0 commit comments

Comments
 (0)