aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@nebulon.de>2015-06-27 19:59:11 +0200
committerJohannes Zellner <johannes@nebulon.de>2015-06-27 19:59:11 +0200
commitb72caa6940baba0eb75a7ad9618c57cc771d44cf (patch)
tree0c1dc0f064b36c55f5525313966d8e198f6d2a95 /Dockerfile
parent591ad40c9613c91069047ca0781a4b38fd2a8a1b (diff)
downloadSurfer-b72caa6940baba0eb75a7ad9618c57cc771d44cf.tar.gz
Surfer-b72caa6940baba0eb75a7ad9618c57cc771d44cf.tar.zst
Surfer-b72caa6940baba0eb75a7ad9618c57cc771d44cf.zip
Use forever in the container
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 87ed80d..c82a944 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,8 +10,11 @@ ADD package.json /app/code/package.json
10ADD src /app/code/src 10ADD src /app/code/src
11ADD app.js /app/code/app.js 11ADD app.js /app/code/app.js
12ADD app /app/code/app 12ADD app /app/code/app
13ADD start.sh /app/code/start.sh
13RUN npm install 14RUN npm install
14 15
16RUN npm install -g forever
17
15EXPOSE 3000 18EXPOSE 3000
16 19
17CMD [ "nodejs", "app.js"] 20CMD [ "/app/code/start.sh" ]