diff --git a/frontend/Dockerfile b/frontend/Dockerfile index caa77df..f2a2e3a 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -18,7 +18,7 @@ COPY . . # built, not when the container starts — rebuild the image to point it elsewhere. # `.env.production.local` outranks every other env file, so this wins over the empty # VITE_API_BASE in .env.production (which means "same origin, behind a proxy"). -ARG VITE_API_BASE=http://localhost:8000 +ARG VITE_API_BASE=http://172.16.204.191:8000 RUN printf 'VITE_API_BASE=%s\n' "$VITE_API_BASE" > .env.production.local \ && npm run build