]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blame - Dockerfile
Use forever in the container
[perso/Immae/Projets/Nodejs/Surfer.git] / Dockerfile
CommitLineData
c88ec639
JZ
1FROM cloudron/base:0.3.0
2MAINTAINER Johannes Zellner <johannes@nebulon.de>
3
4ENV DEBIAN_FRONTEND noninteractive
5
6RUN mkdir -p /app/code
7WORKDIR /app/code
8
9ADD package.json /app/code/package.json
10ADD src /app/code/src
11ADD app.js /app/code/app.js
591ad40c 12ADD app /app/code/app
b72caa69 13ADD start.sh /app/code/start.sh
c88ec639
JZ
14RUN npm install
15
b72caa69
JZ
16RUN npm install -g forever
17
c88ec639
JZ
18EXPOSE 3000
19
b72caa69 20CMD [ "/app/code/start.sh" ]