Added cloud run

This commit is contained in:
Vivek Teega 2023-06-02 12:53:50 +05:30
parent e867449d5a
commit 7c1de446eb
4 changed files with 21 additions and 1 deletions

17
.gcloudignore Normal file
View File

@ -0,0 +1,17 @@
# This file specifies files that are *not* uploaded to Google Cloud
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore
# Node.js dependencies:
node_modules/

View File

@ -21,4 +21,4 @@ ENV PORT=3000
EXPOSE $PORT
# Start the application
ENTRYPOINT ["npm", "start"]
#ENTRYPOINT ["npm", "start"]

1
app.yaml Normal file
View File

@ -0,0 +1 @@
runtime: nodejs16

2
docker_entrypoint.sh Normal file
View File

@ -0,0 +1,2 @@
cp $ACCESS_TOKEN_PATH
npm start