flnxi-Wu/docker-compose.dev.yml
WuYongJie f646b71813
Some checks failed
CI Check / check (push) Has been cancelled
chore: 初始化本地仓库并同步最近改动
2025-11-18 17:50:16 +08:00

26 lines
473 B
YAML

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: