From 4c9bbee58af9c0d2d09b1a8e074af6b1dc0fc856 Mon Sep 17 00:00:00 2001 From: nmemmert Date: Wed, 29 Jul 2026 08:12:42 -0400 Subject: [PATCH] Copy package.json into Docker runtime image so APP_VERSION reads correctly; v1.1.27 package.json was missing from the runtime stage, causing readPackageVersion() to throw and fall back to 'unknown'. The git commit hash (from COMMIT_SHA env) was the only identifier shown. Co-Authored-By: Claude Sonnet 4.6 --- Dockerfile | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2a6283a..6fcfe99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ ENV COMMIT_SHA=${COMMIT_SHA} COPY --from=deps /app/node_modules ./node_modules +COPY package.json ./package.json COPY dist ./dist COPY server.js ./server.js COPY server/ ./server/ diff --git a/package.json b/package.json index 5310597..f8cbff0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "siteforge", "private": true, - "version": "1.1.26", + "version": "1.1.27", "type": "module", "scripts": { "dev": "vite",