services: web: restart: always build: context: . target: development ports: - "3000:3000" volumes: # Map the host source code to the container for hot-reloading - .:/app # Prevents the container's node_modules from being overwritten by the host - /app/node_modules environment: - NODE_ENV=development # Optional: ensure container runs smoothly on Windows host stdin_open: true tty: true