Unfortunately because of this issue https://github.com/docker/hub-feedback/issues/292 Docker Hub effectively automatically changes directory to the location of Dockerfile, meaning needed files are not in the right places, so this has to be reverted.
51 lines
1.0 KiB
Plaintext
51 lines
1.0 KiB
Plaintext
# requirements
|
|
include requirements.txt
|
|
include test_requirements.txt
|
|
include dev_requirements.txt
|
|
|
|
# git
|
|
include .git_archival.txt
|
|
|
|
# docker
|
|
include .dockerignore
|
|
include .docker/main.docker
|
|
include .docker/polyglot.docker
|
|
include .docker/tess4.docker
|
|
include .docker/docker-wrapper.sh
|
|
|
|
# tests
|
|
include pytest.ini
|
|
recursive-include tests *.jpg
|
|
recursive-include tests *.png
|
|
recursive-include tests *.pdf
|
|
recursive-include tests *.py
|
|
recursive-include tests *.rst
|
|
recursive-include tests *.txt
|
|
recursive-exclude tests/output *
|
|
recursive-exclude tests/output_pageinfo *
|
|
recursive-exclude tests/resources/private *
|
|
recursive-exclude tests/cache *
|
|
|
|
# documentation
|
|
include *.rst
|
|
include pipeline.svg
|
|
recursive-exclude .github *
|
|
recursive-include docs *.py
|
|
recursive-include docs *.rst
|
|
recursive-include docs *.svg
|
|
recursive-exclude docs/_build *
|
|
|
|
|
|
# support files
|
|
recursive-include ocrmypdf/data *
|
|
include *.py
|
|
exclude tasks.py
|
|
|
|
# code
|
|
recursive-include ocrmypdf *.py
|
|
exclude ocrmypdf/lib/_leptonica.py
|
|
include OCRmyPDF.sh
|
|
|
|
|
|
|