Move backend Dockerfile to repo root for git access
All checks were successful
check / check (push) Successful in 33s

Place the backend Dockerfile at repo root as Dockerfile.backend so
the build context includes .git, giving git describe access for
version stamping. Fix .gitignore pattern to anchor /netwatch-server
so it does not exclude cmd/netwatch-server/. Remove .git from
.dockerignore. Update CI workflow and backend Makefile docker target.
This commit is contained in:
2026-02-27 12:45:38 +07:00
parent c61c047cd8
commit 8ca57746df
6 changed files with 50 additions and 9 deletions

View File

@@ -7,4 +7,4 @@ jobs:
# actions/checkout v4.2.2, 2026-02-22
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: docker build .
- run: docker build backend/
- run: docker build -f Dockerfile.backend .