diff --git a/.gcloudignore b/.gcloudignore new file mode 100644 index 0000000..4d7d693 --- /dev/null +++ b/.gcloudignore @@ -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/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 12013a5..950d846 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,4 +21,4 @@ ENV PORT=3000 EXPOSE $PORT # Start the application -ENTRYPOINT ["npm", "start"] +#ENTRYPOINT ["npm", "start"] diff --git a/app.yaml b/app.yaml new file mode 100644 index 0000000..c5cb29f --- /dev/null +++ b/app.yaml @@ -0,0 +1 @@ +runtime: nodejs16 \ No newline at end of file diff --git a/docker_entrypoint.sh b/docker_entrypoint.sh new file mode 100644 index 0000000..83db717 --- /dev/null +++ b/docker_entrypoint.sh @@ -0,0 +1,2 @@ +cp $ACCESS_TOKEN_PATH +npm start \ No newline at end of file