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

snowflake-ids
stanclai 2019-03-03 22:25:42 +01:00 zatwierdzone przez Nolan Lawson
rodzic 7e5f58b969
commit fe919de86d
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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