File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ RUN apk add --no-cache libc6-compat
55
66WORKDIR /app
77
8- # Install yarn globally
9- RUN corepack enable && corepack prepare yarn@stable --activate
8+ # Disable corepack and install yarn classic (1.x) globally
9+ RUN corepack
disable &&
npm install -g --
force [email protected] 1010
1111# Install dependencies based on the preferred package manager
1212COPY package.json yarn.lock* package-lock.json* ./
2222FROM node:18-alpine AS builder
2323WORKDIR /app
2424
25- # Install yarn globally
26- RUN corepack enable && corepack prepare yarn@stable --activate
25+ # Disable corepack and install yarn classic (1.x) globally
26+ RUN corepack
disable &&
npm install -g --
force [email protected] 2727
2828COPY --from=deps /app/node_modules ./node_modules
2929COPY . .
You can’t perform that action at this time.
0 commit comments