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
…122)

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 authored Apr 8, 2024
1 parent f8a7519 commit eac82ed
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 eac82ed

Please sign in to comment.