version: '3.8' services: app: image: node:18-alpine working_dir: /app command: sh -c "npm install && npm run dev" ports: - "3000:3000" volumes: - .:/app - dev_node_modules:/app/node_modules - dev_next:/app/.next env_file: - .env.example - config-bianliang.env environment: - NODE_ENV=development extra_hosts: - "host.docker.internal:host-gateway" volumes: dev_node_modules: dev_next: