Skip to content

Commit

Permalink
Docker: Add .dockerignore to setup clean workspace for docker build
Browse files Browse the repository at this point in the history
This improves local rebuilds cache if unrelated files are changed.

For example modifying entrypoint.sh does not invalidate rebuild of java
sources.
  • Loading branch information
glensc committed Apr 7, 2024
1 parent 9b31fad commit 4237e6c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# https://docs.docker.com/engine/reference/builder/#dockerignore-file
/*
!/build.sbt
!/docker/entrypoint.sh
!/project
!/src

0 comments on commit 4237e6c

Please sign in to comment.