diff options
author | Johannes Zellner <johannes@nebulon.de> | 2015-06-27 19:59:11 +0200 |
---|---|---|
committer | Johannes Zellner <johannes@nebulon.de> | 2015-06-27 19:59:11 +0200 |
commit | b72caa6940baba0eb75a7ad9618c57cc771d44cf (patch) | |
tree | 0c1dc0f064b36c55f5525313966d8e198f6d2a95 /Dockerfile | |
parent | 591ad40c9613c91069047ca0781a4b38fd2a8a1b (diff) | |
download | Surfer-b72caa6940baba0eb75a7ad9618c57cc771d44cf.tar.gz Surfer-b72caa6940baba0eb75a7ad9618c57cc771d44cf.tar.zst Surfer-b72caa6940baba0eb75a7ad9618c57cc771d44cf.zip |
Use forever in the container
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -10,8 +10,11 @@ ADD package.json /app/code/package.json | |||
10 | ADD src /app/code/src | 10 | ADD src /app/code/src |
11 | ADD app.js /app/code/app.js | 11 | ADD app.js /app/code/app.js |
12 | ADD app /app/code/app | 12 | ADD app /app/code/app |
13 | ADD start.sh /app/code/start.sh | ||
13 | RUN npm install | 14 | RUN npm install |
14 | 15 | ||
16 | RUN npm install -g forever | ||
17 | |||
15 | EXPOSE 3000 | 18 | EXPOSE 3000 |
16 | 19 | ||
17 | CMD [ "nodejs", "app.js"] | 20 | CMD [ "/app/code/start.sh" ] |