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

.dockerignore file contents #12

Open
vishnubalaji opened this issue Jul 27, 2021 · 1 comment
Open

.dockerignore file contents #12

vishnubalaji opened this issue Jul 27, 2021 · 1 comment

Comments

@vishnubalaji
Copy link

Hello! Shouldn't we include .ebextensions, .elasticbeanstalk and .git along with node_modules to the .dockerignore file as these aren't used by the docker container image and are specific to only elastic beanstalk and git?

@Rvanmech
Copy link

Hi Vishnu, you are right, technically those files are not used by Docker whatsoever, so they do not need to be included with the Dockerbuild, and we can safely add them to the .dockerignore file.
The node_modules directory is the biggest directory, so that is the most important, since that will drastically increase the size of the Docker image.

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