From 241072d089af3c6523c24923cd3874a18aacc576 Mon Sep 17 00:00:00 2001 From: Alan Grainger <16197738+alangrainger@users.noreply.github.com> Date: Sat, 8 Nov 2025 22:35:30 +0800 Subject: [PATCH] Revert "Remove fixed node:lts-alpine version" This reverts commit 667363c38d1518c64521f46a85fff4c22e762529. --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dd87a8f..aea9e38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,8 @@ -FROM node:lts-alpine AS builder +# Using lts-alpine3.20 rather than lts-alpine because it seems the build on 2025-10-29 caused +# an issue here: https://github.com/alangrainger/immich-public-proxy/actions/runs/18898568957/job/53940927581#step:8:212 +# +# Later I need to remove the fixed version number and test the build again. +FROM node:lts-alpine3.20 AS builder USER node WORKDIR /app @@ -7,7 +11,7 @@ COPY --chown=node:node app/ ./ RUN npm ci \ && npx tsc -FROM node:lts-alpine AS runner +FROM node:lts-alpine3.20 AS runner RUN apk --no-cache add curl