build: use vite .env

This commit is contained in:
ZhaiSoul
2025-11-13 05:50:08 +00:00
parent 52e6fbebd2
commit df420783eb
8 changed files with 4 additions and 12 deletions
+1
View File
@@ -14,6 +14,7 @@ push-boards: $(BOARDS:%=push-%)
version:
echo 'VERSION = "$(VERSION)-$(COMMIT_HASH)"' > frigate/version.py
echo 'VITE_GIT_COMMIT_HASH=$(COMMIT_HASH)' > web/.env
local: version
docker buildx build --target=frigate --file docker/main/Dockerfile . \