Enable Corepack and set Yarn version in Dockerfile for frontend build
Some checks failed
CI/CD Pipeline / frontend-lint (push) Successful in 1m38s
CI/CD Pipeline / frontend-build (push) Failing after 35s
CI/CD Pipeline / backend-lint (push) Failing after 7m3s
CI/CD Pipeline / backend-build (push) Has been skipped
CI/CD Pipeline / e2e-test (push) Has been skipped

This commit is contained in:
Damir Mukimov 2025-12-26 15:52:19 +01:00
parent e65b637440
commit e4b345fddc
No known key found for this signature in database
GPG Key ID: 42996CC7C73BC750

View File

@ -4,6 +4,9 @@ FROM node:18-alpine AS builder
# Set working directory
WORKDIR /app
# Enable corepack and set yarn version
RUN corepack enable && corepack prepare yarn@4.12.0 --activate
# Copy package files
COPY package*.json yarn.lock ./