Clean yarn cache during docker image build phase (#1073)
This commit is contained in:
parent
7e5f58b969
commit
fe919de86d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue