to run
npm i
npm start
To deploy:
gcloud builds submit --tag gcr.io/tech-rnd-project/news-summary-fe && gcloud run deploy news-summary-fe --image gcr.io/tech-rnd-project/news-summary-fe --platform managed --allow-unauthenticated --port 3000 --region asia-south1
- This command consists of 3 commands:
- docker build
- docker push
- gcloud run deploy
- add the
--no-cache
tag to the docker build command before-t
. That should solve any issues in building the images.