Add NEXT_PUBLIC_METRIKA_COUNTER_ID build-arg to Dockerfile

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-23 12:31:11 +05:00
parent 0e67a53122
commit 1cde567dbe
+2
View File
@@ -12,6 +12,8 @@ COPY . .
# NEXT_PUBLIC_* vars are inlined at build time
ARG NEXT_PUBLIC_TURNSTILE_SITE_KEY
ENV NEXT_PUBLIC_TURNSTILE_SITE_KEY=$NEXT_PUBLIC_TURNSTILE_SITE_KEY
ARG NEXT_PUBLIC_METRIKA_COUNTER_ID
ENV NEXT_PUBLIC_METRIKA_COUNTER_ID=$NEXT_PUBLIC_METRIKA_COUNTER_ID
# Generate Prisma client before build
RUN npx prisma generate
RUN npm run build