Skip to content
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

Suggest a .dockerignore file if none exists #1015

Open
jordanstephens opened this issue Feb 18, 2025 · 0 comments
Open

Suggest a .dockerignore file if none exists #1015

jordanstephens opened this issue Feb 18, 2025 · 0 comments
Milestone

Comments

@jordanstephens
Copy link
Member

If no dockerignore file exists, prompt the user to create a default one. That default one should include everything listed here:

defaultDockerIgnore = `# Default .dockerignore file for Defang

We are currently (silently) inserting a default .dockerignore, but I am concerned about making too silent many assumptions about whether or not a user expects these files to be present in the final build. Ultimately, I think creating the file for them to edit is an excellent compromise.

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

No branches or pull requests

2 participants