cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Can anyone provide an example docker file for Python on Cloud Foundry?

Former Member
0 Likes
981

Hi,

I would like to deploy an OCR application on CF and need to install several libraries such as opencv and tesseract. I tried to install using the provided 'pip' and 'conda' method. However, 'pip' failed to install 'tesseract' which could be successfully installed using 'sudo apt-get install tesseract-ocr' and 'conda' failed to install 'opencv' which could be successfully installed using 'pip install opencv-python'.

Therefore, it seems that I have to deploy the application using docker image. However, I do not know what the base docker image should be and I am not sure whether there is any special requirement for deploying a docker file on CF. Can anyone provide an example docker file for Python for me to start with?

Thank you very much

Best regards

View Entire Topic
former_member207000
Participant
0 Likes