aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@nebulon.de>2015-09-08 15:17:22 +0200
committerJohannes Zellner <johannes@nebulon.de>2015-09-08 15:17:22 +0200
commite16480a383e38dc72ab747ef8bf8b6f02de63f44 (patch)
tree5019d4cb1396c324ecc3b810492c62bc550b7474
parentea22572f6683c0b369c18d1abb9343a70eb9d66d (diff)
downloadSurfer-e16480a383e38dc72ab747ef8bf8b6f02de63f44.tar.gz
Surfer-e16480a383e38dc72ab747ef8bf8b6f02de63f44.tar.zst
Surfer-e16480a383e38dc72ab747ef8bf8b6f02de63f44.zip
Do not use forever
-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