Gcloudignore file is not respected during deployment to App Engine
You can "include" everything ignored by your .gitignore
file in your .gcloudignore
file by adding the following line:
#!include:.gitignore
If your .gitignore
file is already ignoring the env
directory, this will cause gcloud
to ignore it as well (and every other file that git is ignoring).