Error after executing unit tests

I use docker for deploying application on server.
When I try to execute tests on server I took this error: bench run-tests --profile --app <app_name>

sut                       | [test] [2019-11-13T12:22:48] Reset docker entrypoint logs
sut                       | [test] [2019-11-13T12:22:48] Setup logs folders and files owner to frappe...
sut                       | [test] [2019-11-13T12:22:48] Waiting for frappe current site to be set...
sut                       | [test] [2019-11-13T12:22:48] Waiting for frappe apps to be set...
sut                       | [test] [2019-11-13T12:22:48] Waiting for docker container init...
sut                       | [test] [2019-11-13T12:22:48] Waiting for frappe current site to be set...
sut                       | Waiting to ensure everything is fully ready for the tests...
sut                       | Checking content of sites directory...
sut                       | Checking main containers are reachable...
sut                       | PING erpnext_db (172.18.0.4): 56 data bytes
sut                       | 
sut                       | --- erpnext_db ping statistics ---
sut                       | 10 packets transmitted, 10 packets received, 0% packet loss
sut                       | round-trip min/avg/max = 0.084/0.110/0.176 ms
sut                       | PING erpnext_app (172.18.0.6): 56 data bytes
sut                       | 
sut                       | --- erpnext_app ping statistics ---
sut                       | 10 packets transmitted, 10 packets received, 0% packet loss
sut                       | round-trip min/avg/max = 0.086/0.099/0.155 ms
sut                       | PING erpnext_web (172.18.0.12): 56 data bytes
sut                       | 
sut                       | --- erpnext_web ping statistics ---
sut                       | 10 packets transmitted, 10 packets received, 0% packet loss
sut                       | round-trip min/avg/max = 0.082/0.095/0.164 ms
sut                       | Executing erpnext_ocr app tests...
sut                       | Traceback (most recent call last):
sut                       |   File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
sut                       |     "__main__", mod_spec)
sut                       |   File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
sut                       |     exec(code, run_globals)
sut                       |   File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 97, in <module>
sut                       |     main()
sut                       |   File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
sut                       |     click.Group(commands=commands)(prog_name='bench')
sut                       |   File "/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py", line 764, in __call__
sut                       |     return self.main(*args, **kwargs)
sut                       |   File "/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py", line 717, in main
sut                       |     rv = self.invoke(ctx)
sut                       |   File "/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
sut                       |     return _process_result(sub_ctx.command.invoke(sub_ctx))
sut                       |   File "/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
sut                       |     return _process_result(sub_ctx.command.invoke(sub_ctx))
sut                       |   File "/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py", line 956, in invoke
sut                       |     return ctx.invoke(self.callback, **ctx.params)
sut                       |   File "/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py", line 555, in invoke
sut                       |     return callback(*args, **kwargs)
sut                       |   File "/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
sut                       |     return f(get_current_context(), *args, **kwargs)
sut                       |   File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 25, in _func
sut                       |     ret = f(frappe._dict(ctx.obj), *args, **kwargs)
sut                       |   File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/utils.py", line 419, in run_tests
sut                       |     ui_tests = ui_tests, doctype_list_path = doctype_list_path, failfast=failfast)
sut                       |   File "/home/frappe/frappe-bench/apps/frappe/frappe/test_runner.py", line 70, in main
sut                       |     ret = run_all_tests(app, verbose, profile, ui_tests, failfast=failfast)
sut                       |   File "/home/frappe/frappe-bench/apps/frappe/frappe/test_runner.py", line 112, in run_all_tests
sut                       |     test_suite, ui_tests)
sut                       |   File "/home/frappe/frappe-bench/apps/frappe/frappe/test_runner.py", line 240, in _add_test
sut                       |     make_test_records(doctype, verbose)
sut                       |   File "/home/frappe/frappe-bench/apps/frappe/frappe/test_runner.py", line 251, in make_test_records
sut                       |     for options in get_dependencies(doctype):
sut                       |   File "/home/frappe/frappe-bench/apps/frappe/frappe/test_runner.py", line 272, in get_dependencies
sut                       |     module, test_module = get_modules(doctype)
sut                       |   File "/home/frappe/frappe-bench/apps/frappe/frappe/test_runner.py", line 263, in get_modules
sut                       |     test_module = load_doctype_module(doctype, module, "test_")
sut                       |   File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/utils.py", line 180, in load_doctype_module
sut                       |     module = get_doctype_module(doctype)
sut                       |   File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/utils.py", line 174, in get_doctype_module
sut                       |     return frappe.cache().get_value("doctype_modules", make_modules_dict)[doctype]

It can give you more information:

  1. I use Linux alpine
  2. I have requirements.txt:
six
requests
pytesseract
pillow
wand
tesserocr
  1. I install this packages:
    sudo apk add --update
    ghostscript
    imagemagick
    imagemagick-dev
    tesseract-ocr
    pkgconfig
    leptonica
    ; \