From 9f3c02d1a29f6503d11fe18b23b8bd78187d7724 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Wed, 19 Feb 2025 13:12:12 +0100 Subject: [PATCH] fix: make the path? --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f949b340..c0bff666e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,13 +46,15 @@ FROM base as fetch-deps # Copy pnpm-lock.yaml so that we can use pnpm to install dependencies COPY pnpm-lock.yaml ./ +RUN ls -la +RUN echo "PNPM_STORE_PATH: $(pnpm store path)" + +RUN mkdir -p $(pnpm store path) # Could possibly be sped up using `turbo prune` # https://turbo.build/repo/docs/guides/tools/docker RUN --mount=type=bind,source=${PNPM_STORE_PATH},target=/root/.local/share/pnpm/store/v10 \ pnpm fetch -RUN ls -la -RUN echo "PNPM_STORE_PATH: $(pnpm store path)" # Install dependencies we only need to run pnpm install