ci: fix vite env vars not passed when build
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 2m20s

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2025-10-25 01:53:13 +00:00
parent f7cc0c38a2
commit 1abfc44908
3 changed files with 22 additions and 0 deletions

View File

@@ -5,6 +5,11 @@ services:
build:
context: .
dockerfile: Dockerfile
args:
# Vite environment variables for dashboard build
VITE_API_URL: ${VITE_API_URL:-http://localhost:8000}
VITE_DEFAULT_LATITUDE: ${VITE_DEFAULT_LATITUDE:-37.7749}
VITE_DEFAULT_LONGITUDE: ${VITE_DEFAULT_LONGITUDE:--122.4194}
image: eva-monorepo:latest
container_name: eva
restart: unless-stopped