mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-19 18:31:24 +02:00
add Dockerfile
This commit is contained in:
parent
2fe5536950
commit
fe443a4229
11
Dockerfile
Normal file
11
Dockerfile
Normal 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"]
|
11
README.rst
11
README.rst
@ -14,12 +14,23 @@ nHentai is a CLI tool for downloading doujinshi from <http://nhentai.net>
|
|||||||
===================
|
===================
|
||||||
Manual Installation
|
Manual Installation
|
||||||
===================
|
===================
|
||||||
|
From Github:
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
git clone https://github.com/RicterZ/nhentai
|
git clone https://github.com/RicterZ/nhentai
|
||||||
cd nhentai
|
cd nhentai
|
||||||
python setup.py install
|
python setup.py install
|
||||||
|
|
||||||
|
Use Docker :
|
||||||
|
|
||||||
|
.. code-block::
|
||||||
|
|
||||||
|
git clone https://github.com/RicterZ/nhentai
|
||||||
|
cd nhentai
|
||||||
|
docker build -t nhentai:latest .
|
||||||
|
docker run -v ~/Downloads/doujinshi:/output -v ~/.nhentai/:/root/.nhentai nhentai --id 123855
|
||||||
|
|
||||||
==================
|
==================
|
||||||
Installation (pip)
|
Installation (pip)
|
||||||
==================
|
==================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user