I have an app deployed on Heroku that uses Pytesseract. To use Tesseract on the server, I had to install Tesseract through Aptfile
Aptfile