services: web: build: context: . dockerfile: Dockerfile.dev # dockerfile: Dockerfile ports: - "3001:3001" env_file: - .env environment: - NODE_ENV=development # - NODE_ENV=production - BE_API_SERVER_HOST=web_api - BE_API_SERVER_PORT=3005 volumes: - .:/usr/src/app # Mount the current directory into the container for live reloading - /usr/src/app/node_modules # Isolate node_modules to prevent host-container conflicts networks: - britton_network networks: britton_network: external: true