version: "3.7" services: gatsby: build: context: . dockerfile: Dockerfile entrypoint: gatsby volumes: - .:/app develop: build: context: . dockerfile: Dockerfile command: gatsby develop -H 0.0.0.0 ports: - "8000:8000" volumes: - /app/node_modules - .:/app environment: - NODE_ENV=development