override api host with build arg

This commit is contained in:
mbecker20
2024-04-07 22:29:45 -07:00
parent 7396988032
commit 707dd682ed

View File

@@ -5,6 +5,9 @@ WORKDIR /app
COPY ./frontend ./frontend
COPY ./client/core/ts ./client
ARG VITE_MONITOR_HOST
ENV VITE_MONITOR_HOST ${VITE_MONITOR_HOST}
RUN cd client && yarn && yarn build && yarn link
RUN cd frontend && yarn link @monitor/client && yarn && yarn build