Skip to content

Commit

Permalink
馃懛 add virtual package name (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
moisout committed Aug 25, 2021
1 parent fd14638 commit ac402e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ COPY --from=build /home/build .

RUN apk add --no-cache nodejs-current

RUN apk add --no-cache --virtual yarn && \
RUN apk add --no-cache --virtual .build-deps yarn && \
yarn install --pure-lockfile --link-duplicates --ignore-optional --non-interactive --production && \
yarn cache clean && \
yarn modclean -n default:safe -r
yarn modclean -n default:safe -r && \
apk del .build-deps

ENV NODE_ENV=production
EXPOSE 8066
Expand Down

0 comments on commit ac402e4

Please sign in to comment.