devops(backend): add .dockerignore to exclude target/ from build context
Prevents 111MB of compiled output from being sent to the BuildKit daemon on cold builds. Only .mvn/, mvnw, pom.xml, and src/ are needed by the three COPY instructions in the Dockerfile. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
4
backend/.dockerignore
Normal file
4
backend/.dockerignore
Normal file
@@ -0,0 +1,4 @@
|
||||
target/
|
||||
.git/
|
||||
*.md
|
||||
api_tests/
|
||||
Reference in New Issue
Block a user