Spaces:
Sleeping

benny4982 Claude Opus 4.6 commited on
Commit
3e2ead7
·
1 Parent(s): dd8db09

Auto-set version from git commit hash on each deploy

Browse files

- Dockerfile writes short commit hash to VERSION file at build time
- /api/version endpoint reads VERSION file
- Frontend fetches and displays version below navigation
- Version updates automatically with every push/deploy

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

4 files changed +22 -2
Files changed (4)
.gitignore+1
Dockerfile+4-1
frontend/index.html+6-1
src/api.py+11