[mod]
This commit is contained in:
parent
df3970d8b0
commit
c1b84b34ba
@ -21,6 +21,7 @@ RUN npm prune --prod
|
|||||||
# move
|
# move
|
||||||
RUN rm -rf /app \
|
RUN rm -rf /app \
|
||||||
&& mv dist /app \
|
&& mv dist /app \
|
||||||
|
&& mv certificate /app \
|
||||||
&& mv .env /app \
|
&& mv .env /app \
|
||||||
&& mv node_modules /app/ \
|
&& mv node_modules /app/ \
|
||||||
&& rm -rf /src
|
&& rm -rf /src
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npm run dev",
|
"start": "npm run dev",
|
||||||
"dev": "tsrpc-cli dev",
|
"dev": "tsrpc-cli dev",
|
||||||
|
"prod": "node index.js",
|
||||||
"debug": "set NODE_ENV=dev && nodemon --exec \"node --require ts-node/register --inspect=127.0.0.1:9229 src/index.ts\"",
|
"debug": "set NODE_ENV=dev && nodemon --exec \"node --require ts-node/register --inspect=127.0.0.1:9229 src/index.ts\"",
|
||||||
"build": "tsrpc-cli build",
|
"build": "tsrpc-cli build",
|
||||||
"doc": "tsrpc-cli doc",
|
"doc": "tsrpc-cli doc",
|
||||||
@ -34,4 +35,4 @@
|
|||||||
"fs": "^0.0.1-security",
|
"fs": "^0.0.1-security",
|
||||||
"tsrpc": "^3.4.12"
|
"tsrpc": "^3.4.12"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user