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

Create .devpodignore to avoid copying files/folders to the devcontianer #1299

Open
antonioberben opened this issue Oct 3, 2024 · 0 comments · May be fixed by #1337
Open

Create .devpodignore to avoid copying files/folders to the devcontianer #1299

antonioberben opened this issue Oct 3, 2024 · 0 comments · May be fixed by #1337

Comments

@antonioberben
Copy link

Is your feature request related to a problem?
When using kubernetes provider, source files from the local folder are copied to the remote devcontainer deployed in a pod within the cluster.

If I build the app in local, I generate the output folder with the binary and many other things that are not needed to be copied in the devcontianer. However, If I start the container, those files/folders are also copied.

In my case it was ~1GB it was copied being very slow.

Which solution do you suggest?
Add a .devpodignore where you can define which files/folder to ignore when copying the source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants