tleyden / open-ocr

Run your own OCR-as-a-Service using Tesseract and Docker
Apache License 2.0
1.33k stars 223 forks source link

remove absolute path because binaries already in a PATH #65

Closed hyzhak closed 8 years ago

hyzhak commented 8 years ago

It solves issue #64 and actually we don't need absolute path here because binaries already in a /usr/bin which is part of PATH

tleyden commented 8 years ago

I see what's going on. Those scripts in the docker compose just add sleeps to enforce ordering. But the cleaner way was just mentioned by @wicope in:

https://docs.docker.com/compose/startup-order/

    depends_on:
      - "rabbitmq"