Add .dockerignore

Exclude everything from Docker build context that is not used by COPY steps in the Dockerfile.

This speeds up the container build on macOS, Windows or remote builders as less files and directories are copied over to the container builder. 

https://docs.docker.com/build/concepts/context/#dockerignore-files
pull/832/head
polarctos 2025-06-11 16:03:02 +02:00 zatwierdzone przez Andrew Gaul
rodzic 17e490e775
commit 9ddc581285
1 zmienionych plików z 4 dodań i 0 usunięć

4
.dockerignore 100644
Wyświetl plik

@ -0,0 +1,4 @@
# Exclude everything from context that is not used by COPY steps in the Dockerfile
*
!/target/s3proxy
!/src/main/resources/run-docker-container.sh