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 <noreply@anthropic.com>
This commit is contained in:
nmemmert
2026-07-29 08:12:42 -04:00
parent 111b559865
commit 4c9bbee58a
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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/