system-pri/docker-compose.yaml

25 lines
423 B
YAML
Raw Normal View History

2022-05-23 14:23:22 +02:00
version: '3.3'
services:
backend:
build: ./backend
command: flask run --host 0.0.0.0 --port 5000
env_file:
- ./backend/.env
volumes:
- ./backend:/app
ports:
- "5000:5000"
frontend:
build: ./frontend
volumes:
- ./frontend:/app
- /app/node_modules
depends_on:
- backend
ports:
- "3000:3000"
environment:
- CHOKIDAR_USEPOLLING=true