diff --git a/sg-frontend/.env b/sg-frontend/.env
index 408a3f1b1a7426d3048342786c67d2281993047a..52596f9faf4838b83f2f1af5e881541864232cf7 100644
--- a/sg-frontend/.env
+++ b/sg-frontend/.env
@@ -1 +1 @@
-VITE_BACKEND_URL=
\ No newline at end of file
+VITE_BACKEND_URL=http://localhost:8000
\ No newline at end of file
diff --git a/sg-frontend/Dockerfile b/sg-frontend/Dockerfile
index d48cb1fa91819db21120cc482c5b0e2ce5e08c57..989325261aa005231594a504e24d727df6cd7ee8 100644
--- a/sg-frontend/Dockerfile
+++ b/sg-frontend/Dockerfile
@@ -6,7 +6,7 @@ COPY . .
 RUN npm install
 
 RUN npm run build
-
+ENV VITE_BACKEND_URL=http://sg-backend:8000
 EXPOSE 4173
 
 CMD ["npm","run", "preview", "--","--host", "0.0.0.0", "--port", "4173"]
\ No newline at end of file