Python-Flask-Docker-Deployment-Error

Hi, I may be completely out of my league here, trying to explain the error.

  1. I ran a python-flask application successfully in my local pc.
  2. Created a Docker image and ran the application successfully from the container. 3.Pushed the image to Docker Hub successfully.
  3. In Koyeb chose webservice and linked the image from the Docker Hub in Koyeb successfully .
  4. In deployment it threw errors showing “selenium.common.exceptions.WebDriverException: Message: tab crashed”.

I have tried numerous ways to try but still keep getting same error. The docker image has size 870Mb. But i am on Free Tier Koyeb with 512 total memory.

Can that be a probable reason that there is serious resource constraints due to low memory which is why “tab is getting crashed”.

My Python Flask App is very simple, its auto downloading a Energy Consumption Bill in PDF from an url, converting to image, extracting text and numbers from image and dividing the extracted number according to certain proportions and sending carrier message to each intended recipients about the bill particulars.