XHS_Downloader/Dockerfile
Quan 0698e5ba90 docs: 更新路径说明与更新指南
1. 修订默认路径为 _internal\Volume 相关说明
2. 调整更新指南以配合新目录结构
3. 更新 Docker 命令说明

Closes #274
2025-08-01 11:45:04 +08:00

21 lines
470 B
Docker

FROM python:3.12-slim
WORKDIR /app
LABEL name="XHS-Downloader" authors="JoeanAmier" repository="https://github.com/JoeanAmier/XHS-Downloader"
COPY locale /app/locale
COPY source /app/source
COPY static/XHS-Downloader.tcss /app/static/XHS-Downloader.tcss
COPY LICENSE /app/LICENSE
COPY main.py /app/main.py
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
EXPOSE 5556
VOLUME /app/Volume
CMD ["python", "main.py"]