version: '3.8' services: backend: build: context: . dockerfile: Dockerfile volumes: - .:/app ports: - "8000:8000" environment: - PYTHONUNBUFFERED=1 frontend: image: node:14 working_dir: /app volumes: - ./frontend:/app ports: - "3000:3000" command: npm start