Felix FaerberandClaude Opus 5 c0e7b0f8a5
Docker / build (push) Successful in 19s
declare the VITE args in the stage that builds
The build args were only in development-dependencies-env, which runs npm ci.
npm run build happens in build-env, and args do not cross stages -- so Vite has
never seen VITE_API_URL, VITE_GOOGLE_CLIENT_ID or VITE_COMMIT_SHA in any image
this Dockerfile has produced.

It went unnoticed because app/routes/*.tsx fall back to
https://api.t4t-gateway.com, which is correct for the VPS image and silently
wrong everywhere else: the homelab instance deployed today served a UI that
called production, exactly what building it separately was meant to prevent.
Verified from the served bundle -- assets/signup-*.js carried the VPS URL.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CYFnHida4AdiNDek2pzgXx
2026-09-15 13:03:27 +03:00
2026-05-27 12:22:05 +03:00
2026-05-27 12:22:05 +03:00
2026-05-27 12:22:05 +03:00
2026-05-27 12:22:05 +03:00
2026-05-27 12:22:05 +03:00
2026-05-27 12:22:05 +03:00
2026-05-27 12:22:05 +03:00
S
Description
No description provided
98 KiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 96.3%
Dockerfile 3.1%
CSS 0.6%