refactor: derive git info inside Docker instead of --build-arg
All checks were successful
check / check (push) Successful in 44s

- Remove .git from .dockerignore so it's available in Docker build context
- Install git in Docker image (apt-get)
- Remove ARG/ENV GIT_COMMIT_SHORT/FULL from Dockerfile
- Remove --build-arg from Makefile docker target
- Simplify build.js to use git CLI directly (no env var indirection)

build.js already had fallback logic to shell out to git; now that .git
is present in the build context, it works directly without needing
values passed in from outside Docker.
This commit is contained in:
user
2026-03-01 13:05:55 -08:00
parent 13bc30a1dc
commit 5d0ad18e3f
4 changed files with 16 additions and 29 deletions

View File

@@ -1,4 +1,3 @@
.git
node_modules
.DS_Store
dist