diff --git a/Dockerfile b/Dockerfile index aa5430ab7..70753a52a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,6 @@ FROM node:22-alpine AS base ENV NEXT_TELEMETRY_DISABLED 1 - # Dependencies FROM base AS deps WORKDIR /app @@ -11,6 +10,9 @@ WORKDIR /app COPY package*.json ./ COPY src/server/prisma ./src/server/prisma +# link ssl3 for latest Alpine +RUN sh -c '[ ! -e /lib/libssl.so.3 ] && ln -s /usr/lib/libssl.so.3 /lib/libssl.so.3 || echo "Link already exists"' + # Install dependencies, including dev (release builds should use npm ci) ENV NODE_ENV development RUN npm ci