enable corepack
Some checks failed
Main / build-and-push-docker-image (20.x) (push) Failing after 3m31s
Some checks failed
Main / build-and-push-docker-image (20.x) (push) Failing after 3m31s
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
# 1. Install dependencies and build the project
|
||||
FROM node:20-alpine AS builder
|
||||
|
||||
# Enable Corepack
|
||||
RUN corepack enable
|
||||
|
||||
# Set Yarn to the latest stable version
|
||||
RUN yarn set version stable
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json yarn.lock ./
|
||||
|
||||
Reference in New Issue
Block a user