fix(production): Configure frontend build for api.smoothschedule.com subdomain

- Update nginx build context to ../smoothschedule-frontend (matches deployment structure)
- Add VITE_API_URL build arg to pass API URL during frontend build
- Fixes login issues caused by incorrect API endpoint configuration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
poduck
2025-12-01 03:03:48 -05:00
parent 99adeda83c
commit 63723906d0

View File

@@ -48,8 +48,10 @@ services:
nginx:
build:
context: ../frontend
context: ../smoothschedule-frontend
dockerfile: Dockerfile.prod
args:
VITE_API_URL: https://api.smoothschedule.com
depends_on:
- django
ports: