Skip to content

Commit

Permalink
fix: explicitly set pnpm store-dir
Browse files Browse the repository at this point in the history
This seems to fix running pnpm in Docker containers on macOS
  • Loading branch information
matijs committed May 17, 2024
1 parent bd78e65 commit 1254290
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pnpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN npm install --global npm@latest
RUN npm cache clean --force
RUN corepack enable
RUN corepack prepare pnpm@latest --activate
RUN pnpm config set store-dir ~/.local/share/pnpm/store

ENTRYPOINT [ "docker-entrypoint.sh" ]

Expand Down

0 comments on commit 1254290

Please sign in to comment.