Revert "Fix: Define NEXT_PUBLIC variables explicitly in Dockerfile for build time"
This reverts commit e56e485fcd.
This commit is contained in:
@@ -22,14 +22,6 @@ COPY . .
|
|||||||
# Build Next.js application
|
# Build Next.js application
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
ENV NEXT_TELEMETRY_DISABLED 1
|
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
|
RUN npm run build
|
||||||
|
|
||||||
## Stage 3: Production image
|
## Stage 3: Production image
|
||||||
|
|||||||
Reference in New Issue
Block a user