Commit e16480a3 by Johannes Zellner

Do not use forever

1 parent ea22572f
Showing with 2 additions and 5 deletions
...@@ -13,8 +13,6 @@ ADD app /app/code/app ...@@ -13,8 +13,6 @@ ADD app /app/code/app
ADD start.sh /app/code/start.sh ADD start.sh /app/code/start.sh
RUN npm install RUN npm install
RUN npm install -g forever
EXPOSE 3000 EXPOSE 3000
CMD [ "/app/code/start.sh" ] CMD [ "/app/code/start.sh" ]
...@@ -4,5 +4,5 @@ set -eu ...@@ -4,5 +4,5 @@ set -eu
export NODE_ENV=production export NODE_ENV=production
forever start --workingDir /app/code app.js /app/data cd /app/code
forever logs -f 0 app.js /app/data
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!