Skip to content

Commit 8681cb8

Browse files
waleedlatif1claude
andcommitted
chore(docker): trim verbose comment on build-time env args
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 19a9821 commit 8681cb8

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

docker/app.Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff 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.
7973
ARG DATABASE_URL="postgresql://user:pass@localhost:5432/dummy"
8074
ENV DATABASE_URL=${DATABASE_URL}
8175

0 commit comments

Comments
 (0)