Set NEXT_PUBLIC_API_BASE in the builder stage so login and every other httpClient call target the platform backend instead of the local mock route handlers. Set in the Dockerfile rather than Dokploy because NEXT_PUBLIC_* is inlined into the client bundle at build time — a runtime env var has no effect. Origin only, since authRepository appends /api/auth/login. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2.0 KiB
2.0 KiB