Add Docker deployment as the recommended production setup.
Include Dockerfile, docker-compose on port 3130, npm mirror config, deploy scripts, and DOCKER.md; keep PM2 docs as fallback. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
zhimingge:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: zhimingge:latest
|
||||
container_name: zhimingge
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3130:3130"
|
||||
env_file:
|
||||
- .env.local
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
PORT: "3130"
|
||||
HOSTNAME: "0.0.0.0"
|
||||
Reference in New Issue
Block a user