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

ENV DEBIAN_FRONTEND noninteractive

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

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

ADD src /app/code/src
ADD app /app/code/app
ADD cli /app/code/cli

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

RUN npm install --production

EXPOSE 3000

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