Clarify local binary name vs Dockerfile binary name
go build ./... names the binary after the module (gitea-heatmap-sidecar) while the Dockerfile uses -o /heatmap. Fix .gitignore to match the local name and add notes in both files explaining the discrepancy. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
||||
/heatmap
|
||||
# Local binary: go build ./... derives the name from the module name.
|
||||
# The Dockerfile overrides this with -o /heatmap; that name stays in the image.
|
||||
/gitea-heatmap-sidecar
|
||||
/dist/
|
||||
*.test
|
||||
*.out
|
||||
|
||||
Reference in New Issue
Block a user