cash-stacks/docker-compose.yml

24 lines
472 B
YAML
Raw Normal View History

2021-03-20 23:52:56 +00:00
version: "3.8"
services:
frontend:
build:
context: ./frontend
volumes:
- ./frontend/src:/usr/src/frontend/src
2021-04-11 21:42:56 +00:00
- ./frontend/public:/usr/src/frontend/public
2021-03-20 23:52:56 +00:00
ports:
- 3000:3000
environment:
CHOKIDAR_USEPOLLING: "true"
command: ["npm", "run", "start"]
server:
build:
context: ./server
volumes:
- ./server:/usr/src/server
ports:
- 8000:8000
command: ["python", "manage.py", "runserver"]