XHS_Downloader/Dockerfile
2024-11-08 20:32:02 +08:00

21 lines
423 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 /app/static
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
VOLUME /app
EXPOSE 8000
CMD ["python", "main.py"]