diff --git a/Dockerfile b/Dockerfile index 5abc28421..82f62688b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,11 +37,11 @@ RUN \ git \ git-fast-import \ openssh \ - && python setup.py install \ - && rm -rf /tmp/* \ + && pip install --no-cache-dir . \ && pip install --no-cache-dir \ 'mkdocs-minify-plugin>=0.2' \ - 'mkdocs-git-revision-date-localized-plugin>=0.4' + 'mkdocs-git-revision-date-localized-plugin>=0.4' \ + && rm -rf /tmp/* # Set working directory WORKDIR /docs