diff options
author | Johannes Zellner <johannes@nebulon.de> | 2015-09-08 15:17:22 +0200 |
---|---|---|
committer | Johannes Zellner <johannes@nebulon.de> | 2015-09-08 15:17:22 +0200 |
commit | e16480a383e38dc72ab747ef8bf8b6f02de63f44 (patch) | |
tree | 5019d4cb1396c324ecc3b810492c62bc550b7474 | |
parent | ea22572f6683c0b369c18d1abb9343a70eb9d66d (diff) | |
download | Surfer-e16480a383e38dc72ab747ef8bf8b6f02de63f44.tar.gz Surfer-e16480a383e38dc72ab747ef8bf8b6f02de63f44.tar.zst Surfer-e16480a383e38dc72ab747ef8bf8b6f02de63f44.zip |
Do not use forever
-rw-r--r-- | Dockerfile | 2 | ||||
-rwxr-xr-x | start.sh | 4 |
2 files changed, 2 insertions, 4 deletions
@@ -13,8 +13,6 @@ ADD app /app/code/app | |||
13 | ADD start.sh /app/code/start.sh | 13 | ADD start.sh /app/code/start.sh |
14 | RUN npm install | 14 | RUN npm install |
15 | 15 | ||
16 | RUN npm install -g forever | ||
17 | |||
18 | EXPOSE 3000 | 16 | EXPOSE 3000 |
19 | 17 | ||
20 | CMD [ "/app/code/start.sh" ] | 18 | CMD [ "/app/code/start.sh" ] |
@@ -4,5 +4,5 @@ set -eu | |||
4 | 4 | ||
5 | export NODE_ENV=production | 5 | export NODE_ENV=production |
6 | 6 | ||
7 | forever start --workingDir /app/code app.js /app/data | 7 | cd /app/code |
8 | forever logs -f 0 \ No newline at end of file | 8 | app.js /app/data |