From 64b9c1893d886265cd7f54cfd59428e3455fd97b Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Thu, 4 Apr 2019 20:53:24 +1100 Subject: [PATCH] apparently this is how you do it? --- Dockerfile | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"