fix(build): set correct frontend version in Docker builds (#1114)

This commit is contained in:
kolaente 2025-07-12 18:53:03 +02:00 committed by GitHub
parent 084821edf9
commit ea63eead80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ RUN npm install -g corepack && corepack enable && \
RUN pnpm install --frozen-lockfile --offline
COPY frontend/ ./
RUN pnpm run build
ARG RELEASE_VERSION=dev
RUN echo "{\"VERSION\": \"$RELEASE_VERSION\"}" > src/version.json && pnpm run build
FROM --platform=$BUILDPLATFORM ghcr.io/techknowlogick/xgo:go-1.23.x@sha256:55a8e62ff9e468ff6ca6e9ecb846f853273161fe90b688f94c67b34f88d658b7 AS apibuilder