Add support for HCaptcha site key during frontend build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user