Skip to content

fix: Rename Docker ignore file to standard .dockerignore #406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

Prasanjeet-Microsoft
Copy link
Contributor

Purpose

  • This PR renames WebApp.dockerignore to .dockerignore to ensure it is recognized by the Docker CLI during image build.
  • The .dockerignore file prevents unnecessary files and directories (e.g., node_modules, .venv, etc.) from being sent to the Docker daemon as part of the build context, which improves build performance and keeps image sizes smaller.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • I have built and tested the code locally and in a deployed app
  • For frontend changes, I have pulled the latest code from main, built the frontend, and committed all static files.
  • This is a change for all users of this app. No code or asset is specific to my use case or my organization.

Other Information

  • Verify that the .dockerignore file is correctly recognized during the Docker build and the intended files are excluded

@Prasanjeet-Microsoft Prasanjeet-Microsoft changed the title Fix: Rename Docker ignore file to standard .dockerignore fix: Rename Docker ignore file to standard .dockerignore Apr 23, 2025
@Roopan-Microsoft Roopan-Microsoft merged commit 5b77f42 into main Apr 25, 2025
10 of 11 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.

3 participants