aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
blob: 2d89dd4f8cb3723b8e3072507d7116fe6510f7d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM cloudron/base:0.9.0
MAINTAINER Johannes Zellner <johannes@nebulon.de>

ENV PATH /usr/local/node-4.2.6/bin:$PATH

RUN mkdir -p /app/code
WORKDIR /app/code

ADD src /app/code/src
ADD frontend /app/code/frontend
ADD package.json server.js start.sh README.md /app/code/

RUN npm install --production

EXPOSE 3000

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