hello-arch / Dockerfile
jesonouyang's picture
fix Dockerfile
e4af641
raw
history blame contribute delete
370 Bytes
FROM python:3.9.0-alpine
RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip
RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple mkdocs-material==9.0.13
RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple mkdocs-glightbox==0.3.4
WORKDIR /app
COPY . .
RUN mkdocs build
EXPOSE 8000
CMD ["mkdocs", "serve", "-a", "0.0.0.0:8000"]