first commit

This commit is contained in:
2025-09-11 14:00:33 +08:00
parent 3898c312d5
commit 20bf2449e0
31 changed files with 1390 additions and 476 deletions

25
Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
# 使用官方Python镜像
FROM python:3.9-slim
# 设置工作目录
WORKDIR /app
# 安装系统依赖
RUN apt-get update && apt-get install -y \
git \
&& rm -rf /var/lib/apt/lists/*
# 安装Python依赖
RUN pip install --no-cache-dir \
mkdocs==1.5.3 \
mkdocs-material==9.4.8 \
pymdown-extensions==10.3.1
# 复制项目文件
COPY . .
# 暴露端口
EXPOSE 8000
# 启动命令
CMD ["mkdocs", "serve", "--dev-addr=0.0.0.0:8000"]