From a8858f619984b2a28c6d4de35321147e24c5699d Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Mon, 9 Feb 2026 14:21:33 +0300 Subject: [PATCH] fix: update dockerfile with corepack so we can use yarn v4 --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 30d1444..bf0aee3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ # Build stage FROM node:20-alpine AS builder WORKDIR /app +# Enable Corepack so we can use Yarn v4 +RUN corepack enable && corepack prepare yarn@stable --activate COPY package.json yarn.lock ./ -RUN yarn install --frozen-lockfile +RUN yarn install --immutable COPY . . RUN yarn build