Skip to content

Commit

Permalink
Add .dockerignore file to prevent unrelated changes from breaking Doc…
Browse files Browse the repository at this point in the history
…ker layer cache (#81)

* Don't copy Docker files into containers

* Also filter out docker-compose .env files

* Don't copy .github or .circleci folders
  • Loading branch information
TheSench authored Feb 20, 2020
1 parent 384d599 commit e4edc75
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Files used by Docker to build images
docker-compose*.yml
Dockerfile*
.env

# GitHub and CircleCI configuration
.github/**/*
.github
.circleci/**/*
.circleci

0 comments on commit e4edc75

Please sign in to comment.