From 63723906d0698def563205ff5a8d1fdcb38110d5 Mon Sep 17 00:00:00 2001 From: poduck Date: Mon, 1 Dec 2025 03:03:48 -0500 Subject: [PATCH] fix(production): Configure frontend build for api.smoothschedule.com subdomain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- smoothschedule/docker-compose.production.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/smoothschedule/docker-compose.production.yml b/smoothschedule/docker-compose.production.yml index 789d26a..0f1788d 100644 --- a/smoothschedule/docker-compose.production.yml +++ b/smoothschedule/docker-compose.production.yml @@ -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: