Merge pull request #147 from fantasticit/fix/docker

This commit is contained in:
fantasticit 2022-08-05 18:09:29 +08:00 committed by GitHub
commit 02b5ee28bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -2,5 +2,4 @@
runtime
.git
**/.next/**
**/node_modules/**

View File

@ -2,8 +2,7 @@
"name": "@think/client",
"private": true,
"scripts": {
"prebuild": "rimraf .next",
"build": "npx next telemetry disable && next build && node copy-diagram-resources.js",
"build": "rimraf .next && npx next telemetry disable && next build && node copy-diagram-resources.js",
"dev": "node dev-server.js",
"start": "cross-env NODE_ENV=production node prod-server.js",
"pm2": "pm2 start npm --name @think/client -- start"