use "npm start" for docker env
This commit is contained in:
parent
9c7b328bf1
commit
ae04cd899c
@ -24,4 +24,4 @@ WORKDIR /data
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["node", "src/index.js"]
|
||||
CMD ["npm", "start"]
|
||||
|
@ -4,7 +4,8 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "cd src && jshint . && cd ../public/js/ && jshint ."
|
||||
"test": "cd src && jshint . && cd ../public/js/ && jshint .",
|
||||
"start": "node src/index.js"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
Loading…
x
Reference in New Issue
Block a user