mkdocs-multirepo-plugin
mkdocs-multirepo-plugin copied to clipboard
Git clone only for mkdocs build
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
Why are you calling mkdocs serve when building the Docker image?
Its the entrypoint of the image. Is that not the way to go?
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.