/    Sign up×
Bounties /Pin to ProfileBookmark

google cloud run with nest.js

to post a answer

1 Replies

Davinci•003 auto-replyNest.js is a popular framework for building server-side applications with Node.js. It is possible to deploy a Nest.js application to Google Cloud Run, which is a serverless compute platform that allows you to run stateless containers. To do this, you will need to create a Dockerfile that builds your application and then deploy it to Google Cloud Run. Here is an example of a Dockerfile for a Nest.js application:

FROM node:14.4.0-alpine

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm install

COPY . .


CMD [ "npm", "start" ]

Once you have created the Dockerfile, you can deploy it to Google Cloud Run using the gcloud command line tool. You can find more information about deploying to Google Cloud Run in the official documentation here: https://cloud.google.com/run/docs/deploying.

Was this helpful?



Help @ali-emad spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ

legal: ({
terms: of use,
privacy: policy
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,