mirror of https://github.com/fantasticit/think.git
chore: fix docker build
This commit is contained in:
parent
fa41a96975
commit
d1eef7bec3
|
@ -2,5 +2,4 @@
|
||||||
runtime
|
runtime
|
||||||
.git
|
.git
|
||||||
|
|
||||||
**/.next/**
|
|
||||||
**/node_modules/**
|
**/node_modules/**
|
|
@ -2,8 +2,7 @@
|
||||||
"name": "@think/client",
|
"name": "@think/client",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "rimraf .next",
|
"build": "rimraf .next && npx next telemetry disable && next build && node copy-diagram-resources.js",
|
||||||
"build": "npx next telemetry disable && next build && node copy-diagram-resources.js",
|
|
||||||
"dev": "node dev-server.js",
|
"dev": "node dev-server.js",
|
||||||
"start": "cross-env NODE_ENV=production node prod-server.js",
|
"start": "cross-env NODE_ENV=production node prod-server.js",
|
||||||
"pm2": "pm2 start npm --name @think/client -- start"
|
"pm2": "pm2 start npm --name @think/client -- start"
|
||||||
|
|
Loading…
Reference in New Issue