jdoiro3 / mkdocs-multirepo-plugin

Build documentation in multiple repos into one site.
MIT License
126 stars 47 forks source link

Git clone only for mkdocs build #155

Open makemakeespresso opened 2 months ago

makemakeespresso commented 2 months ago

Hi,

i might miss something here, but is it possible to only perform the clone for "mkdocs build" and not for the serve command? I want to build a docker image and want to avoid keeping the git credentials in the final docker image. Thanks

jdoiro3 commented 2 months ago

Why are you calling mkdocs serve when building the Docker image?

makemakeespresso commented 2 months ago

Its the entrypoint of the image. Is that not the way to go?

cardoe commented 1 month ago

serve is building and then hosting those files with live reload. If you're looking to just serve up the files then you should put them in a container that's running nginx for example.