Refactor environment variable handling in frontend setup

This commit is contained in:
2025-06-01 12:48:07 +02:00
parent 0f096080d7
commit 3482c1c3f2
2 changed files with 2 additions and 5 deletions

View File

@@ -13,9 +13,6 @@ RUN npm ci
# Copy entire project
COPY . .
# Create a .env file before build
RUN echo "NEXT_PUBLIC_HCAPTCHA_SITE_KEY=$HCAPTCHA_SITE_KEY" > .env
# Build the Next.js app
RUN npm run build