version: "3.8" services: web: build: context: . dockerfile: Dockerfile.dev command: > sh -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000" ports: - "8011:8000" volumes: - .:/app - ./staticfiles:/app/staticfiles