diff --git a/Dockerfile b/Dockerfile index eb3881a..f01ae5e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,4 +13,4 @@ RUN npm install COPY . /app # We start our application by calling # npm start. -CMD ["npm", "dockerstart"] \ No newline at end of file +CMD ["npm", "run-script dockerstart"] \ No newline at end of file diff --git a/package.json b/package.json index 85c8db4..d45776b 100644 --- a/package.json +++ b/package.json @@ -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"