mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2025-12-26 04:48:05 +08:00
21 lines
470 B
Docker
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"]
|