add Dockerfile

This commit is contained in:
Ricter Z
2023-02-06 00:22:23 +08:00
parent 2fe5536950
commit fe443a4229
2 changed files with 22 additions and 0 deletions

11
Dockerfile Normal file
View File

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