Last active
May 18, 2024 14:57
-
-
Save jkinkead/55db75d57df756c6d66b4c3f395df521 to your computer and use it in GitHub Desktop.
Simple .dockerignore file for a create-react-app application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Items that don't need to be in a Docker image. | |
# Anything not used by the build system should go here. | |
Dockerfile | |
.dockerignore | |
.gitignore | |
README.md | |
# Artifacts that will be built during image creation. | |
# This should contain all files created during `npm run build`. | |
build | |
node_modules |
shouldn't we also include node_modules as well considering docker should have a cmd for npm install?
should we also exclude .git folder?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, fixed. :)