Add .dockerignore to keep build context small

pull/83/head
Wyatt Gill 2024-05-18 17:42:02 +07:00
parent 53a661861a
commit e3ad646bae
1 changed files with 9 additions and 0 deletions

@ -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