docker doesn't like spaces

This commit is contained in:
2019-04-04 20:58:04 +11:00
parent 64b9c1893d
commit b576ccba5f
2 changed files with 2 additions and 3 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", "run-script dockerstart"] CMD ["npm", "start"]

View File

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