Added cloud run
This commit is contained in:
parent
e867449d5a
commit
7c1de446eb
17
.gcloudignore
Normal file
17
.gcloudignore
Normal 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/
|
||||||
@ -21,4 +21,4 @@ ENV PORT=3000
|
|||||||
EXPOSE $PORT
|
EXPOSE $PORT
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
ENTRYPOINT ["npm", "start"]
|
#ENTRYPOINT ["npm", "start"]
|
||||||
|
|||||||
2
docker_entrypoint.sh
Normal file
2
docker_entrypoint.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
cp $ACCESS_TOKEN_PATH
|
||||||
|
npm start
|
||||||
Loading…
Reference in New Issue
Block a user