File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,13 +69,7 @@ ENV NEXT_TELEMETRY_DISABLED=1 \
6969 VERCEL_TELEMETRY_DISABLED=1 \
7070 DOCKER_BUILD=1
7171
72- # Provide dummy values during image build so module-eval-time validators
73- # (e.g. @sim/db connection init, getBaseUrl() in lib/core/utils/urls) don't
74- # crash next build during page-data collection. Runtime environments must
75- # override both. NEXT_PUBLIC_APP_URL is intentionally NOT read by
76- # next.config.ts at build time — response CORS is computed at request time
77- # in proxy.ts via getEnv(), so the localhost fallback below cannot leak
78- # into production CORS response headers.
72+ # Dummy values so next build can evaluate modules. Override at runtime.
7973ARG DATABASE_URL="postgresql://user:pass@localhost:5432/dummy"
8074ENV DATABASE_URL=${DATABASE_URL}
8175
You can’t perform that action at this time.
0 commit comments