blob: c82a944837de170984e85a16d94c8df0b7b043b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
FROM cloudron/base:0.3.0
MAINTAINER Johannes Zellner <johannes@nebulon.de>
ENV DEBIAN_FRONTEND noninteractive
RUN mkdir -p /app/code
WORKDIR /app/code
ADD package.json /app/code/package.json
ADD src /app/code/src
ADD app.js /app/code/app.js
ADD app /app/code/app
ADD start.sh /app/code/start.sh
RUN npm install
RUN npm install -g forever
EXPOSE 3000
CMD [ "/app/code/start.sh" ]
|