From e16480a383e38dc72ab747ef8bf8b6f02de63f44 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Tue, 8 Sep 2015 15:17:22 +0200 Subject: [PATCH 1/1] Do not use forever --- Dockerfile | 2 -- start.sh | 4 ++-- 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 ADD start.sh /app/code/start.sh RUN npm install -RUN npm install -g forever - EXPOSE 3000 CMD [ "/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 export NODE_ENV=production -forever start --workingDir /app/code app.js /app/data -forever logs -f 0 \ No newline at end of file +cd /app/code +app.js /app/data -- 2.41.0