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
|
# Install Pinafore
|
||||||
&& yarn --production --pure-lockfile \
|
&& yarn --production --pure-lockfile \
|
||||||
&& yarn build \
|
&& yarn build \
|
||||||
|
&& yarn cache clean \
|
||||||
&& rm -rf ./src \
|
&& rm -rf ./src \
|
||||||
# Cleanup
|
# Cleanup
|
||||||
&& apk del build-dependencies
|
&& apk del build-dependencies
|
||||||
|
|
Loading…
Reference in New Issue