update mkdocs dockerfile.

This commit is contained in:
luocai 2022-12-13 16:33:25 +08:00
parent 0a25a07e08
commit 5a1c097520

View File

@ -5,7 +5,7 @@ RUN sed -i "s@http://.*archive.ubuntu.com@http://mirrors.tuna.tsinghua.edu.cn@g"
sed -i "s@http://.*security.ubuntu.com@http://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list && \
apt-get update
RUN apt-get install -y --no-install-recommends vim python3 pip
RUN pip install mkdocs mkdocs-material -i https://pypi.tuna.tsinghua.edu.cn/simple
RUN pip install mkdocs mkdocs-material mkdocs-encryptcontent-plugin -i https://pypi.tuna.tsinghua.edu.cn/simple
# docker build -f mkdocs.dockerfile -t mkdocs .