Skip to content

fix: resolve Docker build failures and optimise backend image build - #6

Merged
hal-bot merged 1 commit into
mainfrom
fix/pipeline
Mar 27, 2026
Merged

fix: resolve Docker build failures and optimise backend image build#6
hal-bot merged 1 commit into
mainfrom
fix/pipeline

Conversation

@hal-bot

@hal-bot hal-bot commented Mar 27, 2026

Copy link
Copy Markdown
Owner
  • Remove .mvn/ from backend .dockerignore (mvnw requires wrapper files)
  • Widen Docker build context to repo root so parent pom.xml is accessible
  • Rename backend/.dockerignore to Dockerfile.dockerignore (BuildKit convention for non-default context)
  • Update .dockerignore paths to be repo-root-relative, excluding frontend/ and serverless/
  • Add --mount=type=cache for /root/.m2 to speed up repeated Maven builds
  • Update CI workflow and docker-compose to use context: . with file: backend/Dockerfile
  • Remove now-redundant artifact download steps from docker-build job

- Remove .mvn/ from backend .dockerignore (mvnw requires wrapper files)
- Widen Docker build context to repo root so parent pom.xml is accessible
- Rename backend/.dockerignore to Dockerfile.dockerignore (BuildKit convention for non-default context)
- Update .dockerignore paths to be repo-root-relative, excluding frontend/ and serverless/
- Add --mount=type=cache for /root/.m2 to speed up repeated Maven builds
- Update CI workflow and docker-compose to use context: . with file: backend/Dockerfile
- Remove now-redundant artifact download steps from docker-build job
@hal-bot
hal-bot merged commit 33451cd into main Mar 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant