Wauplin HF Staff commited on
Commit
c93db8e
·
verified ·
1 Parent(s): 2367cc3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -25,7 +25,7 @@ COPY frontend/ ./
25
  ENV VITE_APP_ENV=production
26
  RUN if [ -n "$SPACE_HOST" ]; then \
27
  echo "Building with SPACE_HOST: $SPACE_HOST"; \
28
- VITE_BACKEND_URL="$SPACE_HOST" pnpm build; \
29
  else \
30
  echo "Building without SPACE_HOST"; \
31
  VITE_BACKEND_URL="http://127.0.0.1:9481" \
 
25
  ENV VITE_APP_ENV=production
26
  RUN if [ -n "$SPACE_HOST" ]; then \
27
  echo "Building with SPACE_HOST: $SPACE_HOST"; \
28
+ VITE_BACKEND_URL="https://$SPACE_HOST" pnpm build; \
29
  else \
30
  echo "Building without SPACE_HOST"; \
31
  VITE_BACKEND_URL="http://127.0.0.1:9481" \