Remove fixed node:lts-alpine version

This commit is contained in:
Alan Grainger
2025-11-08 22:33:54 +08:00
parent 34e4145ea3
commit 667363c38d
+2 -6
View File
@@ -1,8 +1,4 @@
# Using lts-alpine3.20 rather than lts-alpine because it seems the build on 2025-10-29 caused FROM node:lts-alpine AS builder
# 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
@@ -11,7 +7,7 @@ COPY --chown=node:node app/ ./
RUN npm ci \ RUN npm ci \
&& npx tsc && npx tsc
FROM node:lts-alpine3.20 AS runner FROM node:lts-alpine AS runner
RUN apk --no-cache add curl RUN apk --no-cache add curl