summaryrefslogtreecommitdiffstats
path: root/Services/nodejs/Dockerfile
blob: 9b76beb893bdeb35de3d6d806008b0fbe0e01812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM startx/fedora
MAINTAINER Christophe LARUE <dev@startx.fr>

RUN yum -y install nodejs npm \
    && yum clean all \
    && mkdir -p /app \
    && chmod ug+rx /app
VOLUME ["/app"]
WORKDIR /app
COPY app /app
ENV MAIN_APP /app/app.js
ENV NODE_PATH /app/node_modules

EXPOSE 8000
ENTRYPOINT ["node", "/app/app.js"]