expressCart/Dockerfile

22 lines
447 B
Docker
Raw Permalink Normal View History

2018-02-05 23:29:16 +10:00
FROM mhart/alpine-node:8
ENV NODE_VERSION 8.9.4
WORKDIR /var/expressCart
COPY bin/ /var/expressCart/bin/
COPY config/ /var/expressCart/config/
COPY public/ /var/expressCart/public/
COPY routes/ /var/expressCart/routes/
COPY views/ /var/expressCart/views/
COPY app.js /var/expressCart/
COPY package.json /var/expressCart/
COPY gulpfile.js /var/expressCart/
RUN npm install
VOLUME /var/expressCart/data
EXPOSE 1111
ENTRYPOINT ["npm", "start"]