From 8112f232e31b60a46c935de2e885f22fa8a5292f Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Tue, 23 Apr 2024 19:39:45 +0200 Subject: [PATCH] add corepack --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fd27ae3..94b581d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,9 @@ WORKDIR /app RUN apk add --no-cache --virtual .gyp python3 make g++ COPY package.json yarn.lock ./ +RUN corepack enable yarn RUN yarn set version 4.1.1 RUN yarn -RUN npm install -g typescript COPY . . RUN yarn build