Open echtme opened 3 years ago
I found the problem, I've python-slim which was causing the issue!
@echtme so you say it is not possible to add pyrebase to python:3.8-slim
? Which image would you suggest to run Flask with Pyrebase?
It's been a while since I had this problem. But as I remember, I switched to the firebase-admin package from google, as I couldn't get pyrebase running on my setup.
@echtme thanks for your prompt reply ;) ...actually in the meantime I did the same. However there are some tasks which we cannot do with the firebase_admin SDK, that is to sign in Firebase users. But I overcome the issue by utilising the Firebase Admin SDK REST service, so I could manage user auth without Pyrebase.
I just had a look at my old code and I did exactly the same at end ;)
I use Google Cloud Run with Python-3.8-slim with Flask, to deploy my projects online. But as soon as I add pyrebase to the requirement.txt and try to build the docker/push to the cloud, I get the error below (pycrypto).