We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49eccdd commit a5961f2Copy full SHA for a5961f2
.dockerignore
@@ -1,3 +1,4 @@
1
2
# Ignore everything - the Dockerfile uses no local files
3
*
4
+!docs/requirements.txt
Dockerfile
@@ -1,3 +1,6 @@
FROM squidfunk/mkdocs-material
-RUN pip install mike
+COPY ./docs/requirements.txt /tmp/requirements.txt
+RUN pip install --no-cache-dir -U -r /tmp/requirements.txt \
+ && rm /tmp/requirements.txt
5
+RUN pip install --no-cache-dir -U mike
6
RUN git config --global --add safe.directory /docs
0 commit comments