Add support for HCaptcha site key during frontend build

This commit is contained in:
2025-06-01 20:22:26 +02:00
parent 2a19e583c9
commit eebabb5e53
3 changed files with 3 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ RUN npm ci
COPY . .
# Set it as an environment variable for the build process
ARG HCAPTCHA_SITE_KEY
ENV NEXT_PUBLIC_HCAPTCHA_SITE_KEY=${HCAPTCHA_SITE_KEY}
# Build the Next.js app