From 858a4d42205fa6208a3afec4e4ac7a81ab3b5b98 Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Fri, 20 Jun 2025 16:23:34 -0400 Subject: [PATCH 1/4] Update dockerfile file for yarn v4 --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3dbbe7f..46aeb47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,11 @@ FROM node:lts-slim AS base +# Enable Corepack +RUN corepack enable + +# Set Yarn to the latest stable version +RUN yarn set version stable + # Create app directory WORKDIR /usr/src From 24cd6563437ff11fd822d9907d2b5d2eb3d3bcc5 Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Fri, 20 Jun 2025 16:30:12 -0400 Subject: [PATCH 2/4] Update dockerfile file for new prod check. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 46aeb47..1775011 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ FROM base AS runner COPY package*.json ./ # Install only production app dependencies -RUN yarn install --production +RUN yarn install --frozen-lockfile # Bundle app source COPY . . From e63a9cf36913d44ea4b802ebf3cab598a6a20653 Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Fri, 20 Jun 2025 16:31:51 -0400 Subject: [PATCH 3/4] Update dockerfile file for new prod check. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1775011..f412e25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ FROM base AS runner COPY package*.json ./ # Install only production app dependencies -RUN yarn install --frozen-lockfile +RUN yarn install --immutable-cache # Bundle app source COPY . . From 20328ae39a070c6f6cc52b9c3d524868c82af257 Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Fri, 20 Jun 2025 16:36:29 -0400 Subject: [PATCH 4/4] Update dockerfile file to remove prod install. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f412e25..ded6f00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ FROM base AS runner COPY package*.json ./ # Install only production app dependencies -RUN yarn install --immutable-cache +#RUN yarn install # Bundle app source COPY . .