|
|
@ -17,7 +17,6 @@ COPY ./.eslintrc.yml ./.eslintrc.yml |
|
|
|
|
|
|
|
RUN yarn cache clean |
|
|
|
RUN yarn --frozen-lockfile --non-interactive |
|
|
|
|
|
|
|
RUN yarn build |
|
|
|
RUN rm -rf /wiki/node_modules |
|
|
|
RUN yarn --production --frozen-lockfile --non-interactive |
|
|
@ -41,7 +40,7 @@ COPY --chown=node:node --from=assets /wiki/assets ./assets |
|
|
|
COPY --chown=node:node --from=assets /wiki/node_modules ./node_modules |
|
|
|
COPY --chown=node:node ./server ./server |
|
|
|
COPY --chown=node:node --from=assets /wiki/server/views ./server/views |
|
|
|
COPY --chown=node:node ./config.yml ./config.yml |
|
|
|
COPY --chown=node:node ./dev/build/config.yml ./config.yml |
|
|
|
COPY --chown=node:node ./package.json ./package.json |
|
|
|
COPY --chown=node:node ./LICENSE ./LICENSE |
|
|
|
|
|
|
|