Add .dockerignore to keep build context small

This commit is contained in:
Wyatt Gill committed 2024-05-18 17:42:02 -05:00
1 parent 53a661861a
commit e3ad646bae
1 file changed
+9
+9
View File
@@ -0,0 +1,9 @@
# https://docs.docker.com/build/building/context/#dockerignore-files
# Ignore all files by default
*
# Only add necessary files to the Docker build context (Dockerfiles are always included implicitly)
!/internal/
!/go.mod
!/go.sum
!main.go