feat: Configure VITE_API_URL during build via Gitea workflow and Dockerfile, removing local fallback.
Build & Push Hospitality / build-and-push (push) Successful in 3m41s

This commit is contained in:
steinhelge
2025-11-25 19:22:56 +01:00
parent a298159ce2
commit bd64eea849
3 changed files with 11 additions and 1 deletions
+7
View File
@@ -45,7 +45,14 @@ jobs:
# ---------- Frontend ----------
- name: Build Frontend (${{ env.TAG }})
run: |
if [ "$TAG" = "dev" ]; then
API_URL="http://t610:5005/api"
else
API_URL="http://t610:5004/api"
fi
docker build \
--build-arg VITE_API_URL=$API_URL \
-t $REGISTRY/hospitality-frontend:${TAG} \
-f src/hospitality-web/Dockerfile \
src/hospitality-web