From 8fb2a8aa840279c117a2a4bdd1b224952fe743df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20M=C3=BCller-Downing?= Date: Thu, 24 Sep 2020 13:12:38 +1000 Subject: [PATCH] Install production dependencies with lockfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b9c3a027..c2110abc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /build COPY package.json yarn.lock /build/ # Install only the production dependencies -RUN yarn install --frozen-lockfile +RUN yarn install --production --frozen-lockfile # Cache these modules for production RUN cp -R node_modules/ prod_node_modules/