kubernetes gateway url added

This commit is contained in:
Sumedh
2024-08-13 04:57:45 +00:00
parent d92e182773
commit ae75976b19
2 changed files with 10 additions and 1 deletions

View File

@@ -4,6 +4,12 @@ WORKDIR /usr/src/app
# this will allow us to run vite and other tools directly
ENV PATH /usr/src/node_modules/.bin:$PATH
# Add custom DNS mapping
ARG LOCAL_DNS
RUN echo "$LOCAL_DNS" >> /etc/hosts
RUN cat /etc/hosts
# inject all environment vars we'll need
ARG VITE_BACKEND_URL
ENV VITE_BACKEND_URL=$VITE_BACKEND_URL