From c9303b6ea778753ded807db7345dc7cb83e7de44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Fri, 9 Aug 2024 14:33:01 -0700 Subject: [PATCH] Alternative copy of .yarn --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index aa0f987..f318b4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,8 @@ RUN apk add --no-cache libc6-compat WORKDIR /app # Install dependencies based on the preferred package manager -COPY package.json yarn.lock* .yarnrc.yml .nvmrc .yarn ./ -RUN ls -la -RUN ls -la .yarn/** +COPY package.json yarn.lock* .yarnrc.yml .nvmrc ./ +COPY .yarn .yarn RUN corepack enable RUN yarn install --immutable