Remove fixed node:lts-alpine version
This commit is contained in:
+2
-6
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user