From fe919de86d7e74940d7cc70ec8ca2ba4ce8dbe0d Mon Sep 17 00:00:00 2001
From: stanclai <stanclai@users.noreply.github.com>
Date: Sun, 3 Mar 2019 22:25:42 +0100
Subject: [PATCH] Clean yarn cache during docker image build phase (#1073)

---
 Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Dockerfile b/Dockerfile
index eb3d0246..c583fbe7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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