ip changed in dockerfile
parent
5ca085a238
commit
0e91b24ed2
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue