apparently this is how you do it?

This commit is contained in:
2019-04-04 20:53:24 +11:00
parent dbb6d62dfc
commit 64b9c1893d
2 changed files with 2 additions and 2 deletions

View File

@@ -13,4 +13,4 @@ RUN npm install
COPY . /app
# We start our application by calling
# npm start.
CMD ["npm", "dockerstart"]
CMD ["npm", "run-script dockerstart"]

View File

@@ -14,7 +14,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js",
"startdocker": "git pull && node index.js"
"dockerstart": "git pull && node index.js"
},
"author": "",
"license": "ISC"