|
@@ -1,7 +1,8 @@ |
|
|
FROM node:erbium-alpine |
|
|
FROM node:erbium-alpine |
|
|
RUN apk add python2 |
|
|
RUN apk add python2 |
|
|
USER node |
|
|
|
|
|
WORKDIR /home/node |
|
|
WORKDIR /home/node |
|
|
COPY --chown=node:node package.json yarn.lock ./ |
|
|
|
|
|
|
|
|
COPY package.json yarn.lock ./ |
|
|
|
|
|
RUN chown node:node -R . |
|
|
|
|
|
USER node |
|
|
RUN yarn |
|
|
RUN yarn |
|
|
ENTRYPOINT node build/dev-server.js |
|
|
ENTRYPOINT node build/dev-server.js |