Intel_classification / docker-compose.yml
danielle2035's picture
Add file
d32e728
Raw
History Blame Contribute Delete
530 Bytes
version: "3.9"
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8000:8000"
volumes:
- ./backend:/app
- ./ml/models:/app/api/models # mount trained models
environment:
- DEBUG=True
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:3000"
depends_on:
- backend
environment:
- REACT_APP_API_URL=http://localhost:8000
restart: unless-stopped