From 4089d09681475c3c59da7226c1296e977d4b0962 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Thu, 26 Oct 2017 09:19:29 -0600 Subject: [PATCH] fix regression missing yarn cache clean --- Dockerfile.onbuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile.onbuild b/Dockerfile.onbuild index a4bff7095..20d34ffb9 100644 --- a/Dockerfile.onbuild +++ b/Dockerfile.onbuild @@ -9,9 +9,10 @@ ONBUILD ARG TALK_PLUGINS_JSON # Bundle app source ONBUILD COPY . /usr/src/app -# At this stage, we need to install the development dependancies again because -# we need to have webpack available. We then build the new dependancies and -# clear out the development dependancies again. After this we of course need to +# At this stage, we need to install the development dependencies again because +# we need to have webpack available. We then build the new dependencies and +# clear out the development dependencies again. After this we of course need to # clear out the yarn cache, this saves quite a lot of size. ONBUILD RUN cli plugins reconcile && \ - yarn build \ No newline at end of file + yarn build && \ + yarn cache clean \ No newline at end of file