You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
421 B
23 lines
421 B
3 years ago
|
version: "3.8"
|
||
|
|
||
|
services:
|
||
|
frontend:
|
||
|
build:
|
||
|
context: ./frontend
|
||
|
volumes:
|
||
|
- ./frontend/src:/usr/src/frontend/src
|
||
|
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"]
|