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 COPY . /app
# We start our application by calling # We start our application by calling
# npm start. # npm start.
CMD ["npm", "dockerstart"] CMD ["npm", "run-script dockerstart"]

View File

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