Fix missing python dependency in docker build
parent
354f4e980e
commit
d889bfb525
|
@ -2,8 +2,11 @@ FROM mhart/alpine-node:8
|
||||||
|
|
||||||
ENV NODE_VERSION 8.9.4
|
ENV NODE_VERSION 8.9.4
|
||||||
|
|
||||||
|
RUN apk add --no-cache make gcc g++ python bash
|
||||||
|
|
||||||
WORKDIR /var/expressCart
|
WORKDIR /var/expressCart
|
||||||
|
|
||||||
|
COPY lib/ /var/expressCart/lib/
|
||||||
COPY bin/ /var/expressCart/bin/
|
COPY bin/ /var/expressCart/bin/
|
||||||
COPY config/ /var/expressCart/config/
|
COPY config/ /var/expressCart/config/
|
||||||
COPY public/ /var/expressCart/public/
|
COPY public/ /var/expressCart/public/
|
||||||
|
@ -19,4 +22,4 @@ RUN npm install
|
||||||
VOLUME /var/expressCart/data
|
VOLUME /var/expressCart/data
|
||||||
|
|
||||||
EXPOSE 1111
|
EXPOSE 1111
|
||||||
ENTRYPOINT ["npm", "start"]
|
ENTRYPOINT ["npm", "start"]
|
||||||
|
|
Loading…
Reference in New Issue