Skip to content

Commit

Permalink
Activate pnpm from node's corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
DarwinsBuddy committed Jan 7, 2025
1 parent 5fb635e commit 74fc7ad
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:23.5.0-alpine
FROM node:23.5.0

RUN mkdir -p /drone/volume \
&& touch /drone/volume/npmrc \
&& ln -s /drone/volume/npmrc /root/.npmrc
&& touch /drone/volume/npmrc \
&& ln -s /drone/volume/npmrc /root/.npmrc \
&& corepack enable pnpm \
&& corepack prepare pnpm --activate

0 comments on commit 74fc7ad

Please sign in to comment.