mirror of
https://github.com/immich-app/immich.git
synced 2026-04-18 12:19:35 +00:00
fix: make web build stage deterministic (#27823)
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -15,6 +15,9 @@ const config = {
|
||||
},
|
||||
preprocess: vitePreprocess(),
|
||||
kit: {
|
||||
version: {
|
||||
name: process.env.IMMICH_BUILD || Date.now().toString(),
|
||||
},
|
||||
paths: {
|
||||
relative: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user