fix: new frontend dev.dockerfile

#21
This commit is contained in:
Gabriel Almeida 2023-03-19 11:11:47 -03:00
commit 48baeb127d
2 changed files with 15 additions and 10 deletions

View file

@ -18,9 +18,7 @@ services:
ports:
- "3000:3000"
volumes:
- ./src/frontend:/app
# Set process.env.BACKEND to the backend service
environment:
- BACKEND_HOST="http://backend"
- BACKEND_PORT="7860"
- ./src/frontend/public:/home/node/app/public
- ./src/frontend/src:/home/node/app/src
- ./src/frontend/package.json:/home/node/app/package.json
restart: on-failure