Skip to content

Commit

Permalink
fix: make the path?
Browse files Browse the repository at this point in the history
  • Loading branch information
tefkah committed Feb 19, 2025
1 parent fdb87c4 commit 9f3c02d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f3c02d

Please sign in to comment.