25 lines
423 B
YAML
25 lines
423 B
YAML
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
|