Skip to content

Commit

Permalink
fix: docker
Browse files Browse the repository at this point in the history
  • Loading branch information
fengkx committed Oct 16, 2021
1 parent 26f54a2 commit 05acb07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ COPY logs /app/logs
COPY package.json /app/package.json
COPY --from=ts-builder /app/dist /app/dist
COPY --from=dep-builder /app/node_modules-minimal/node_modules /app/node_modules
CMD npm run start-withsnapshot
CMD npm run start-docker
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"build": "del-cli dist && tsc && cpy source/template dist/source/template && cpy i18n dist/i18n",
"start": "cross-env NODE_PRODUTION=true node dist/source/index.js",
"start-withsnapshot": "cross-env NODE_PRODUTION=true node --heapsnapshot-signal=SIGUSR2 dist/source/index.js",
"start-docker": "node --heapsnapshot-signal=SIGUSR2 dist/source/index.js",
"dev": "node $NODE_DEBUG_OPTIONS dist/source/index",
"test": "cross-env RSSBOT_DB_PATH=test/test-data/test.db RSSBOT_TOKEN=1 npx jest --verbose",
"pretty-quick": "pretty-quick --staged",
Expand Down

0 comments on commit 05acb07

Please sign in to comment.