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"