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