mirror of
https://github.com/krahets/hello-algo.git
synced 2025-08-02 19:53:11 +08:00
Many bug fixes and improvements (#1270)
* Add Ruby and Kotlin icons Add the avatar of @curtishd * Update README * Synchronize zh-hant and zh versions. * Translate the pythontutor blocks to traditional Chinese * Fix en/mkdocs.yml * Update the landing page of the en version. * Fix the Dockerfile * Refine the en landingpage * Fix en landing page * Reset the README.md
This commit is contained in:
17
Dockerfile
17
Dockerfile
@ -2,18 +2,23 @@ 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
|
||||
RUN pip install mkdocs-material==9.5.5 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
|
||||
|
||||
COPY docs ./build/docs
|
||||
COPY mkdocs.yml mkdocs.yml
|
||||
RUN mkdocs build -f mkdocs.yml
|
||||
RUN mkdocs build -f mkdocs-en.yml
|
||||
|
||||
COPY zh-hant/docs ./build/zh-hant/docs
|
||||
COPY zh-hant/mkdocs.yml ./zh-hant/mkdocs.yml
|
||||
RUN mkdocs build -f ./zh-hant/mkdocs.yml
|
||||
|
||||
COPY en/docs ./build/en/docs
|
||||
COPY en/mkdocs.yml ./en/mkdocs.yml
|
||||
RUN mkdocs build -f ./en/mkdocs.yml
|
||||
|
||||
WORKDIR /hello-algo/site
|
||||
EXPOSE 8000
|
||||
|
Reference in New Issue
Block a user