Skip to content

Commit

Permalink
update node version in docker add heapdump signal
Browse files Browse the repository at this point in the history
  • Loading branch information
fengkx committed Jul 9, 2019
1 parent 9c04118 commit dae2075
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10.16.0-alpine
FROM node:12.6-alpine
WORKDIR /app
COPY . /app
ENV NODE_PRODUTION true
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "noderssbot",
"version": "0.1.0",
"version": "0.2.0",
"description": "Another Telegram RSSBot in Node.js",
"main": "index.js",
"scripts": {
"start": "node -e 'process.env.NODE_PRODUTION = process.env.NODE_PRODUTION || \"production\"; require(\"./index.js\");'",
"dev": "proxychains -q node $NODE_DEBUG_OPTION index",
"start": "node --heapsnapshot-signal=SIGUSR2 -e 'process.env.NODE_PRODUTION = process.env.NODE_PRODUTION || \"production\"; require(\"./index.js\");'",
"dev": "proxychains -q node index",
"test": "echo \"Error: no test specified\" && exit 1",
"format": "eslint \"**/*.js\" --fix && prettier \"**/*.{js,json,md}\" --write",
"lint": "eslint \"**/*.js\" && prettier-check \"**/*.{js,json,md}\""
Expand Down

0 comments on commit dae2075

Please sign in to comment.