From 9940590f3f8d1d04ca94a4d818b7d1b246610fe6 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Mon, 8 Jul 2019 22:11:19 +0200
Subject: [PATCH] build: yarn frozen-lockfile for production too

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

diff --git a/Dockerfile b/Dockerfile
index b505d3ab01..f0c2757a67 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -163,7 +163,7 @@ ENV PATH="/home/ubuntu/.yarn/bin:/home/ubuntu/.config/yarn/global/node_modules/.
 
 COPY package.json .
 COPY yarn.lock .
-RUN yarn install --production && yarn cache clean
+RUN yarn install --production --frozen-lockfile && yarn cache clean
 COPY --from=tsbuild dist dist
 COPY bin bin
 COPY data data
-- 
GitLab