-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathMakefile
More file actions
16 lines (15 loc) · 570 Bytes
/
Copy pathMakefile
File metadata and controls
16 lines (15 loc) · 570 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
build-image:
docker rmi manga-image-translator || true
docker build . --tag=manga-image-translator
run-web-server:
docker run --gpus all -p 5003:5003 --ipc=host --rm manga-image-translator \
--verbose \
--use-gpu \
--host=0.0.0.0 \
--port=5003 \
--entrypoint python \
-v /demo/doc/../../result:/app/result \
-v /demo/doc/../../server/main.py:/app/server/main.py \
-v /demo/doc/../../server/instance.py:/app/server/instance.py \
zyddnys/manga-image-translator:main \
server/main.py --verbose --start-instance --host=0.0.0.0 --port=5003 --use-gpu