From 597df0244e836b36020a01995b8e4dc0abb1bfdb Mon Sep 17 00:00:00 2001 From: kokopi Date: Tue, 10 Mar 2026 00:45:17 +0900 Subject: [PATCH] fix:deploy --- docker-compose.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index addaf65..1b63bb5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,10 +18,12 @@ services: frontend: build: context: ./frontend + env_file: + - ./frontend/.env args: - # VITE_API_URL is read from frontend/.env and baked into the bundle - # at build time by Vite. It must be the URL the browser uses to reach - # the backend — not an internal Docker hostname. + # Baked into the Vite bundle at build time. + # Read from frontend/.env — must be the URL the browser uses to reach + # the backend, not an internal Docker hostname. VITE_API_URL: ${VITE_API_URL} env_file: - ./frontend/.env