Revert "Remove fixed node:lts-alpine version"

This reverts commit 667363c38d.
This commit is contained in:
Alan Grainger
2025-11-08 22:35:30 +08:00
parent 667363c38d
commit 241072d089
+6 -2
View File
@@ -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 USER node
WORKDIR /app WORKDIR /app
@@ -7,7 +11,7 @@ COPY --chown=node:node app/ ./
RUN npm ci \ RUN npm ci \
&& npx tsc && npx tsc
FROM node:lts-alpine AS runner FROM node:lts-alpine3.20 AS runner
RUN apk --no-cache add curl RUN apk --no-cache add curl