Clean yarn cache during docker image build phase (#1073)

This commit is contained in:
stanclai 2019-03-03 22:25:42 +01:00 committed by Nolan Lawson
parent 7e5f58b969
commit fe919de86d
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ RUN apk add --update --no-cache --virtual build-dependencies git python build-ba
# Install Pinafore
&& yarn --production --pure-lockfile \
&& yarn build \
&& yarn cache clean \
&& rm -rf ./src \
# Cleanup
&& apk del build-dependencies