feat: added script to setup proxy for local dev

This commit is contained in:
Gabriel Almeida 2023-03-20 11:41:27 -03:00
commit bd2f05996b
3 changed files with 24 additions and 2 deletions

View file

@ -15,10 +15,12 @@ services:
build:
context: ./src/frontend
dockerfile: ./dev.Dockerfile
args:
- BACKEND_URL=http://backend:7860
ports:
- "3000:3000"
volumes:
- ./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
restart: on-failure