Fixup the env variables for the webui launch
This commit is contained in:
1 parent
24d4fc82a5
commit
8e78d14086
2 files changed
+7
-7
No files matched your search
+4
-4
@@ -6,10 +6,10 @@ COPY frontend/package.json ./
|
||||
RUN npm install
|
||||
COPY frontend/ ./
|
||||
|
||||
# Passed in via docker-compose build args so the URL is baked into the bundle.
|
||||
# e.g. VITE_WEBRTC_WS_URL=ws://raspberrypi.local:8443
|
||||
ARG VITE_WEBRTC_WS_URL
|
||||
ENV VITE_WEBRTC_WS_URL=${VITE_WEBRTC_WS_URL}
|
||||
# Passed in via docker-compose build args so the host is baked into the bundle.
|
||||
# e.g. VITE_WEBRTC_HOST=raspbot-v2.local
|
||||
ARG VITE_WEBRTC_HOST
|
||||
ENV VITE_WEBRTC_HOST=${VITE_WEBRTC_HOST}
|
||||
|
||||
RUN npm run build
|
||||
|
||||
|
||||
Reference in new issue
Block a user