fix: update dockerfile with corepack so we can use yarn v4
Some checks failed
Workflow / build (push) Successful in 1m0s
Workflow / publish (push) Failing after 27s

This commit is contained in:
Ilia Mashkov
2026-02-09 14:21:33 +03:00
parent b1de03106f
commit a8858f6199

View File

@@ -1,8 +1,10 @@
# Build stage # Build stage
FROM node:20-alpine AS builder FROM node:20-alpine AS builder
WORKDIR /app WORKDIR /app
# Enable Corepack so we can use Yarn v4
RUN corepack enable && corepack prepare yarn@stable --activate
COPY package.json yarn.lock ./ COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile RUN yarn install --immutable
COPY . . COPY . .
RUN yarn build RUN yarn build