mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-04 07:36:57 +08:00
26 lines
368 B
YAML
26 lines
368 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "80:80"
|
|
|
|
dev:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.dev
|
|
volumes:
|
|
- .:/app
|
|
- /app/node_modules
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- NODE_ENV=development
|
|
command: npm run dev
|
|
|
|
volumes:
|
|
node_modules:
|