fix: make web build stage deterministic (#27823)

This commit is contained in:
bo0tzz
2026-04-15 19:31:23 +02:00
committed by GitHub
parent 79fccdbee0
commit 5334a6254a
2 changed files with 6 additions and 0 deletions

View File

@@ -23,6 +23,9 @@ RUN --mount=type=cache,id=pnpm-server,target=/buildcache/pnpm-store \
FROM builder AS web
ARG BUILD_ID
ENV IMMICH_BUILD=${BUILD_ID}
WORKDIR /usr/src/app
COPY ./web ./web/
COPY ./i18n ./i18n/

View File

@@ -15,6 +15,9 @@ const config = {
},
preprocess: vitePreprocess(),
kit: {
version: {
name: process.env.IMMICH_BUILD || Date.now().toString(),
},
paths: {
relative: false,
},