From 8710c4f71db4e31e876152acfcbcd0ce0263e62d Mon Sep 17 00:00:00 2001 From: santiyago <72850756+santiyagoburcart@users.noreply.github.com> Date: Thu, 5 Jun 2025 01:06:35 +0330 Subject: [PATCH] Update Dockerfile for yarn --- new-frontend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/new-frontend/Dockerfile b/new-frontend/Dockerfile index 02b31bc9..9494db9a 100644 --- a/new-frontend/Dockerfile +++ b/new-frontend/Dockerfile @@ -3,7 +3,7 @@ FROM node:20-alpine AS builder WORKDIR /app -COPY package.json package-lock.json ./ +COPY package.json yarn.lock ./ RUN corepack enable RUN yarn install --frozen-lockfile --network-timeout 600000 @@ -23,7 +23,7 @@ COPY --from=builder /app/package.json ./package.json COPY --from=builder /app/yarn.lock ./yarn.lock RUN corepack enable -RUN RUN npm install +RUN yarn install --frozen-lockfile --network-timeout 600000 EXPOSE 3000