ducktors / turborepo-remote-cache

Open source implementation of the Turborepo custom remote cache server.
https://ducktors.github.io/turborepo-remote-cache/
MIT License
1.01k stars 93 forks source link

docs: change docker to bind mount #256

Closed gtjamesa closed 10 months ago

gtjamesa commented 10 months ago

In this PR:

I've changed the Docker example to use a bind mount. This saves having an additional two instructions and layers for COPY and RUN to add and clean up the .git directory. The .git directory will be accessible only when building the image, and is not present in the final image.

Checklist:

matteovivona commented 10 months ago

great trick @gtjamesa! I hadn't really thought about that!

matteovivona commented 10 months ago

@all-contributors add @gtjamesa for docs

allcontributors[bot] commented 10 months ago

@matteovivona

I've put up a pull request to add @gtjamesa! :tada:

matteovivona commented 10 months ago

:tada: This PR is included in version 2.0.8 :tada:

The release is available on:

Your semantic-release bot :package::rocket: