aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
-rwxr-xr-xstart.sh4
2 files changed, 2 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index c82a944..e1f588c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,8 +13,6 @@ ADD app /app/code/app
13ADD start.sh /app/code/start.sh 13ADD start.sh /app/code/start.sh
14RUN npm install 14RUN npm install
15 15
16RUN npm install -g forever
17
18EXPOSE 3000 16EXPOSE 3000
19 17
20CMD [ "/app/code/start.sh" ] 18CMD [ "/app/code/start.sh" ]
diff --git a/start.sh b/start.sh
index 1805585..9967ed8 100755
--- a/start.sh
+++ b/start.sh
@@ -4,5 +4,5 @@ set -eu
4 4
5export NODE_ENV=production 5export NODE_ENV=production
6 6
7forever start --workingDir /app/code app.js /app/data 7cd /app/code
8forever logs -f 0 \ No newline at end of file 8app.js /app/data