summaryrefslogtreecommitdiffstats
path: root/Services/nodejs/Dockerfile
blob: 5f188795b12b3628248cb66783247a6b4249053d (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 python make gcc \
    && 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"]