From 5ca45677ffa181b9d288e42f69dc90a2498342af Mon Sep 17 00:00:00 2001 From: Dries Augustyns Date: Thu, 6 Feb 2025 20:06:34 +0100 Subject: [PATCH 1/2] Fix: Version --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d011a74..cd4af75 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Base Stage -FROM node:20-alpine3.16 AS base +FROM node:20-alpine3.20 AS base WORKDIR /app @@ -7,13 +7,14 @@ COPY . . ARG NEXT_PUBLIC_API_URI=PLUNK_API_URI +RUN apk add --no-cache openssl RUN yarn install --network-timeout 1000000 RUN yarn build:shared RUN yarn workspace @plunk/api build RUN yarn workspace @plunk/dashboard build # Final Stage -FROM node:20-alpine3.16 +FROM node:20-alpine3.20 WORKDIR /app From 605a5a0abfbf0d11076440afc07d2f9b2d1ee071 Mon Sep 17 00:00:00 2001 From: Dries Augustyns Date: Thu, 6 Feb 2025 20:07:07 +0100 Subject: [PATCH 2/2] Fix: Remove openssl install --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cd4af75..0654ba2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,6 @@ COPY . . ARG NEXT_PUBLIC_API_URI=PLUNK_API_URI -RUN apk add --no-cache openssl RUN yarn install --network-timeout 1000000 RUN yarn build:shared RUN yarn workspace @plunk/api build