Use GIT_COMMIT_SHA env var instead of execSync for Docker compatibility

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-03 12:56:11 -05:00
co-authored by Claude Opus 4.6
parent ecc6a942a9
commit 1a5a1e631c
5 changed files with 7 additions and 14 deletions
+2
View File
@@ -12,7 +12,9 @@ FROM base AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
ARG GIT_COMMIT_SHA
ENV NODE_ENV=production
ENV GIT_COMMIT_SHA=${GIT_COMMIT_SHA}
RUN pnpm build
# --- Runner ---