aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
blob: e1f588c21f69e658af344ddc1046df15f0410ea8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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

EXPOSE 3000

CMD [ "/app/code/start.sh" ]