Docker Dockererize your Node.js API and deploy it to Cloud Run

This lesson is available for PRO members or as a single course purchase. Sign-in and choose a plan below.


*Enrollment provides full access to this course (and updates) for life.

Or Signup for Unlimited PRO Access

Dockerize

command line
docker build -t fireship/stripe-server .
docker run -p 3333:3333 fireship/stripe-server 

Deploy to Cloud Run

Push the container to Container Registry.

command line
gcloud config set project <PROJECT_ID>
gcloud builds submit --tag gcr.io/PROJECT_ID/stripe-server

Then follow the steps in the video to create a Cloud Run Service.

Q&A Chat