Skip to content

Commit

Permalink
Forever the server docker
Browse files Browse the repository at this point in the history
  • Loading branch information
gertvv committed Jun 21, 2016
1 parent 2fb268f commit 37fe33d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN apt-get install -y nodejs
RUN apt-get install -y unzip git

RUN npm install -g bower
RUN npm install -g forever

RUN useradd --create-home --home /var/lib/patavi patavi

Expand All @@ -31,4 +32,4 @@ RUN unzip patavi.zip && mv patavi-*/server/* .
RUN npm install --production
RUN cd public && bower install

CMD node server
CMD ["forever", "server.js"]

0 comments on commit 37fe33d

Please sign in to comment.