Anybody have experience deploy a flask paddleocr app to google cloud run?
I encounter Service Unavailable when opening the url. In cloud run console: "ImportError: libssl.so.1.1: cannot open shared object file: No such file or directory"
Dockerfile:
FROM python:3.8-slim-buster
COPY . ./
RUN pip install flask gunicorn
RUN pip install paddlepaddle==2.4.2
RUN pip install paddleocr
RUN pip install pillow
RUN apt-get update && apt-get install -y openssl
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 app:app
so far i have tried adding to Dockerfile
RUN apt-get update && apt-get install -y openssl
and
RUN apt-get update && apt-get install -y libssl1.1
but still get the same error in google cloud run
Any input will be helpful. Thank you