Deploy Python on Firebase Hosting with Cloud Run - Firecasts

Deploy Python on Firebase Hosting with Cloud Run – Firecasts

python 3 shared hosting

Welcome to a new episode of Firecasts, today we’re going to be using Firebase Hosting and Cloud Run to host a flask server. Find out what Cloud Run is, how you can deploy Python on Firebase Hosting with Docker, and more on this episode with our Firebase Developer Advocate David East.

gcloud SDK →

Firecasts for Firebase Developers playlist →
Subscribe to Firebase →

29 thoughts on “Deploy Python on Firebase Hosting with Cloud Run – Firecasts

  1. When I upload a file into Firebase storage, sometimes I get following error: 'Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None). Can you please suggest how can I solve this?

  2. firebase hosting are hosted in uscentral1 region, care while selecting cloud run and firestore, we are locked to uscentral1 if you are using firbase hosting, we can't use firestore from other than uscentral1 because of latency

  3. Conceptually, are Cloud Functions like a "NodeJS in a Cloud Run"? Like making a docker of nodejs stuff in a Cloud Run VS doing it in Cloud Functions pretty much the same?

  4. I really got stuck on implementing this.
    Basically, I do the exact same thing with my angular app.
    The only difference is that I use for hosting "europe-west1".
    Has anyone similar issues? 🙂

  5. I get an error when doin the node_modules/.bin/firebase serve

    it tell me:
    basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")

    SyntaxError: missing ) after argument list

  6. What's the benefit of deploying the web app to Cloud Run instead of App Engine? The CDN cache?
    Wanted to use a subdomain for dynamic links while my static site was being hosted in Firebase Hosting, couldn't make it work so I removed the Hosting from Firebase and created a Web app to host it in App Engine.
    At the moment I find this overly complicated(Compared to deploy to GAE), but I can see the benefit of the CDN Cache can I do something similar in GAE or it has to be a container?

    You guys always post answers to my needs a month after I found a solution 😀 😀

Leave a Reply

Your email address will not be published. Required fields are marked *