on ‎2020 Sep 06 6:29 AM
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
Request clarification before answering.
Hi Shiqi,
This blog describes how to run a Python app on Cloud Foundry IBM Cloud. I would not expect this to be very different to CF for SAP CP. Maybe give it a try?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shiqi,
Check this example if it helps.
Deploy Python Application on SAP Cloud Platform using Docker Container
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.