From ea63eead803c639da1a0323e48519126e9f55872 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 12 Jul 2025 18:53:03 +0200 Subject: [PATCH] fix(build): set correct frontend version in Docker builds (#1114) --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 610ba0adb..2f26a69af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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