From eac82ed3b856fe043bb511649fd444621bcbcafe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 8 Apr 2024 11:04:37 +0300 Subject: [PATCH] Docker: Add .dockerignore to setup clean workspace for docker build (#122) This improves local rebuilds cache if unrelated files are changed. For example modifying entrypoint.sh does not invalidate rebuild of java sources. --- .dockerignore | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..1142868 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +# https://docs.docker.com/engine/reference/builder/#dockerignore-file +/* +!/build.sbt +!/docker/entrypoint.sh +!/project +!/src