From a0aaf4bfc2d4f2f264a0d09dae76f80c57bac315 Mon Sep 17 00:00:00 2001 From: tauagent <259104564+tauagent@users.noreply.github.com> Date: Tue, 14 Apr 2026 14:17:57 +0000 Subject: [PATCH] fix: copy package.json to dist/ for version.ts The version.ts file reads package.json relative to __dirname. When bundled with tsup, this resolves to dist/package.json but only package.json in root was being copied. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index e20e4b9a..a9c4124f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,9 @@ COPY . . # Build the application RUN npm run build:only +# Copy package.json to dist/ for version.ts to read at runtime +RUN cp package.json dist/ + # Expose the API port EXPOSE 3420