1
0
Fork 0
Run a temporary instance of Excalibur PDF extraction tool more easily without fighting dependency issues.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
forest c911a63c25 readme wording vor 4 Jahren
Dockerfile got it to work vor 4 Jahren
Dockerfile.source explain how to persist the data. vor 4 Jahren
ReadMe.md readme wording vor 4 Jahren

ReadMe.md

excalibur-docker

https://github.com/camelot-dev/excalibur

Run a temporary instance of Excalibur PDF extraction tool more easily without fighting dependency issues.

Currently requires --net host because this app listens on 127.0.0.1 by default (only accept connections on local network device) instead of 0.0.0.0 (accept connections from anywhere). This could be changed by adding host= '0.0.0.0' to app.run() here : eb3c64feee/excalibur/cli.py (L58)

Currently the container will not die on a Ctrl-C you have to sudo docker kill <containerid> to stop it. ¯\_(ツ)_/¯

If you want the data to stick around when the container restarts try mounting the /home/root/excalibur/ directory in the container to the host file system.


sudo docker build -t excalibur:0.4.2 .

sudo docker run --rm --net host excalibur:0.4.2

# open localhost:5000 in web browser