From d50c2721d28617ab32be1430b1560d66a9b9133c Mon Sep 17 00:00:00 2001 From: Khoa Vo Date: Thu, 1 Jan 2026 15:44:18 +0700 Subject: [PATCH] fix: remove hardcoded localhost api url to fix cors on production --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 61a1c65..c94d948 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ COPY frontend/package*.json ./ RUN npm install --legacy-peer-deps COPY frontend/ ./ # Build with standalone output -ENV NEXT_PUBLIC_API_URL="http://localhost:8000" +ENV NEXT_PUBLIC_API_URL="" RUN npm run build # --- Stage 2: Final Runtime Image ---