Created
February 22, 2023 08:03
-
-
Save gowizzard/bda7719d87d19c8684c17a25b8c59054 to your computer and use it in GitHub Desktop.
A small template of a .dockerignore file for a golang project.
This file contains 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
# First we ignore all folders & files. | |
# After that we ignore the file types & more. | |
.github/ | |
.idea/ | |
.gitignore | |
LICENSE | |
*.md | |
*.yml | |
**/*_test.go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.dockerignore
Here you will find a template in which all files that are not important for your Docker container are ignored. Of course, this list can be extended or shortened as desired.