feat: ui commit hash versioning on prod

This commit is contained in:
2026-05-16 13:13:41 +07:00
parent f2f45f2509
commit bcf4650c70
4 changed files with 35 additions and 7 deletions
+3
View File
@@ -1,3 +1,4 @@
ARG GIT_HASH=unknown
FROM oven/bun:1.3 AS deps
WORKDIR /app
@@ -8,8 +9,10 @@ RUN bun install --frozen-lockfile
RUN bun install --cwd /app/apps/web --frozen-lockfile
FROM deps AS builder
ARG GIT_HASH
WORKDIR /app/apps/web
ENV NEXT_TELEMETRY_DISABLED=1
ENV NEXT_PUBLIC_GIT_HASH=$GIT_HASH
RUN bun run build
FROM oven/bun:1.3 AS runner