Skip to content

Commit 24be244

Browse files
committed
Work around nodejs/corepack#612
1 parent fa43ef9 commit 24be244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apk add python3 g++ make py-setuptools
55

66
ENV PNPM_HOME="/pnpm"
77
ENV PATH="$PNPM_HOME:$PATH"
8-
RUN corepack enable
8+
RUN npm install -g corepack@latest && corepack enable
99

1010
USER node
1111
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app

0 commit comments

Comments
 (0)