build: switch to pyproject

This commit is contained in:
sgqy
2025-01-26 21:45:55 +09:00
parent 4ab43dae24
commit c7ff5c2c5c
7 changed files with 369 additions and 353 deletions

View File

@ -1,11 +1,9 @@
FROM python:3
WORKDIR /usr/src/nhentai
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN pip install .
RUN pip install --no-cache-dir .
WORKDIR /output
ENTRYPOINT ["nhentai"]