This repository has been archived on 2026-05-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Nest/nest-front/Dockerfile
Thibault Pouch 83d5a70b08 feat(nest-front): add API_URL proxy and VITE_API_URL support for split deployment
- nginx.conf: proxy /api/ to ${API_URL} (injected at container start via envsubst)
- Dockerfile: accept VITE_API_URL build arg; use envsubst CMD to hydrate nginx template
- src/utils/api.ts: export API_BASE using VITE_API_URL or fallback to /api

Enables nest-front to run on Coolify while nest-backend runs on Portainer.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 09:13:27 +01:00

919 B