1 Star 0 Fork 0

hwOpenStudy / hello-algo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 491 Bytes
一键复制 编辑 原始数据 按行查看 历史
Krahets 提交于 2023-12-25 13:23 . A bug fix
FROM python:3.10.0-alpine
ENV PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
RUN pip install --upgrade pip
RUN pip install mkdocs-material==9.5.2 mkdocs-glightbox
WORKDIR /hello-algo
COPY overrides ./build/overrides
COPY docs ./build/docs
COPY docs-en ./build/docs-en
COPY mkdocs.yml ./mkdocs.yml
COPY mkdocs-en.yml ./mkdocs-en.yml
RUN mkdocs build -f mkdocs.yml
RUN mkdocs build -f mkdocs-en.yml
WORKDIR /hello-algo/site
EXPOSE 8000
CMD ["python", "-m", "http.server", "8000"]
1
https://gitee.com/hw-open-study/hello-algo.git
git@gitee.com:hw-open-study/hello-algo.git
hw-open-study
hello-algo
hello-algo
main

搜索帮助