Skip to content

Commit

Permalink
build(docker): improve Docker start-up time locally
Browse files Browse the repository at this point in the history
Adds a .dockerignore file to avoid including (almost 1GB worth) of superfluous files in the Docker context. These files
are mostly the result of running the app outside of Docker (primarily the NPM dependencies and Parcel cache). On macOS
at least, this sees a dramatic speed increase.

Refs #390
  • Loading branch information
thewilkybarkid committed Jul 22, 2021
1 parent 3e622a5 commit 3948007
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/.github/
/.parcel-cache/
/coverage/
/deploy/
/dist/
/node_modules/
/*.sqlite3

0 comments on commit 3948007

Please sign in to comment.