Dockerizing

This commit is contained in:
Elijah Lucian
2021-03-20 16:52:56 -07:00
parent a2323321e3
commit a891fa6a50
8 changed files with 94 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
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"]