Skip to content

fix(docker): add comprehensive .dockerignore#686

Open
sonusharma6-dsa wants to merge 2 commits into
imDarshanGK:mainfrom
sonusharma6-dsa:fix/dockerignore-automated
Open

fix(docker): add comprehensive .dockerignore#686
sonusharma6-dsa wants to merge 2 commits into
imDarshanGK:mainfrom
sonusharma6-dsa:fix/dockerignore-automated

Conversation

@sonusharma6-dsa
Copy link
Copy Markdown

Adds a comprehensive .dockerignore to avoid leaking secrets and reduce Docker image size.

Signed-off-by: sonusharma6-dsa <ramprashadkumar11@gmail.com>
Signed-off-by: sonusharma6-dsa <ramprashadkumar11@gmail.com>
Copilot AI review requested due to automatic review settings May 30, 2026 10:44
@sonusharma6-dsa
Copy link
Copy Markdown
Author

Summary: Adds a comprehensive .dockerignore to avoid leaking secrets and reduce Docker image size.

Main patterns included: Python caches/venvs, .env* files, node_modules, IDE files (.vscode/.idea), docs, and common build/temp artifacts.

Notes:

  • This only prevents future files from being copied into Docker contexts; it does NOT remove already-committed secrets from history.
  • Recommend re-requesting the Copilot reviewer for automated checks.
  • Optional: run a quick scan for accidentally committed secrets (I can run one and report findings).

If you'd like, I can also add extra ignores or run the secrets scan now.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@sonusharma6-dsa
Copy link
Copy Markdown
Author

Could you please re-request the Copilot PR reviewer on this PR? The previous Copilot run errored out, and a fresh automated review would help confirm the .dockerignore update is safe.

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.

2 participants