From de02c20fa594f51c275dec98361a4cd1b0006369 Mon Sep 17 00:00:00 2001 From: Josh Siegel Date: Wed, 2 Nov 2022 20:21:08 +0000 Subject: [PATCH] WH-1848: fix up cache @ Closes #1848 --- Dockerfile.const | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile.const b/Dockerfile.const index 94c1c8c47..508c079e4 100644 --- a/Dockerfile.const +++ b/Dockerfile.const @@ -15,8 +15,12 @@ WORKDIR /clients/js # copy package.json & package-lock.json by themselves to create a cache layer COPY clients/js/package.json clients/js/package-lock.json ./ # mount the buildkit cache on npm's cache dir, install dependencies -RUN --mount=type=cache,uid=1000,gid=1000,target=/home/node/.npm \ - npm ci + +# Commenting out npm cache due to heisenbug with github build machines +# RUN --mount=type=cache,uid=1000,gid=1000,target=/home/node/.npm + +RUN npm ci + # copy the rest of the source files, as a layer on top of the deps COPY clients/js ./ # build CLI