expressCart/Dockerfile

26 lines
529 B
Docker
Raw Normal View History

2018-02-05 23:29:16 +10:00
FROM mhart/alpine-node:8
ENV NODE_VERSION 8.9.4
RUN apk add --no-cache make gcc g++ python bash
2018-02-05 23:29:16 +10:00
WORKDIR /var/expressCart
COPY lib/ /var/expressCart/lib/
2018-02-05 23:29:16 +10:00
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"]