From 728b2d31d60815fe19247a99231cd146c5f102d9 Mon Sep 17 00:00:00 2001 From: dahoud Date: Sat, 25 Oct 2025 17:08:34 +0000 Subject: [PATCH] Revert "Fix: Define NEXT_PUBLIC variables explicitly in Dockerfile for build time" This reverts commit e56e485fcd57b0f4b62336be5dda9dfe3e533693. --- Dockerfile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 579db20..88570c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,14 +22,6 @@ COPY . . # Build Next.js application ENV NODE_ENV production ENV NEXT_TELEMETRY_DISABLED 1 - -# Define NEXT_PUBLIC variables explicitly for build time -ENV NEXT_PUBLIC_API_URL=https://api.lions.dev/btpxpress -ENV NEXT_PUBLIC_KEYCLOAK_URL=https://security.lions.dev -ENV NEXT_PUBLIC_KEYCLOAK_REALM=btpxpress -ENV NEXT_PUBLIC_KEYCLOAK_CLIENT_ID=btpxpress-frontend -ENV NEXT_PUBLIC_APP_ENV=production - RUN npm run build ## Stage 3: Production image