Skip to content

Commit

Permalink
Fix corepack armageddon
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Feb 4, 2025
1 parent 087c533 commit 137562b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pnpm/Dockerfile.builder
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ EOT

COPY --chown=node:node volto.config.js /app/

RUN corepack enable
RUN npm i -g corepack@latest && corepack enable
USER node

WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion pnpm/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN <<EOT
chown -R node:node /app
EOT

RUN corepack enable
RUN npm i -g corepack@latest && corepack enable

# Run the image with user node
USER node
Expand Down
2 changes: 1 addition & 1 deletion yarn/Dockerfile.builder
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN <<EOT
EOT

WORKDIR /app
RUN corepack enable
RUN npm i -g corepack@latest && corepack enable
USER node
RUN <<EOT
Expand Down

0 comments on commit 137562b

Please sign in to comment.