Skip to content

add .dockerignore to optimize and speed up Docker build - #86

Merged
TatjanaTrajkovic merged 1 commit into
mainfrom
feat/optimize-docker-build-context-by-adding-dockerignore
Feb 18, 2026
Merged

add .dockerignore to optimize and speed up Docker build#86
TatjanaTrajkovic merged 1 commit into
mainfrom
feat/optimize-docker-build-context-by-adding-dockerignore

Conversation

@TatjanaTrajkovic

Copy link
Copy Markdown

Summary
This PR adds a .dockerignore file to the root of the project. This ensures that only necessary source files are sent to the Docker daemon during builds.

Changes

  • Added .dockerignore to exclude:
    • taget/ (local build artifacts)
    • .git/ (git history)
    • mvnw, mvnw.cmd, .mvn/ (not needed inside the container build)
    • other IDE-specific files

@TatjanaTrajkovic TatjanaTrajkovic linked an issue Feb 17, 2026 that may be closed by this pull request
@coderabbitai

coderabbitai Bot commented Feb 17, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@TatjanaTrajkovic has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 11 minutes and 53 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/optimize-docker-build-context-by-adding-dockerignore

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@TatjanaTrajkovic

Copy link
Copy Markdown
Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Feb 17, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@simonforsberg simonforsberg left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice follow-up to the Testcontainers PR, it makes sense after introducing Docker-based tests and will speed up builds.

@TatjanaTrajkovic
TatjanaTrajkovic merged commit 7e5ce75 into main Feb 18, 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.

Optimize Docker build context by adding .dockerignore

3 participants