First time deploying a Symfony project to Google App Engine, ran gcloud app deploy
.
Error:
File upload done.
ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: This deployment has too many files. New versions are limited to 10000 files for this app.
- '@type': type.googleapis.com/google.rpc.BadRequest
fieldViolations:
- description: This deployment has too many files. New versions are limited to 10000
files for this app.
field: version.deployment.files[...]
I suspect the problem is my app.yaml file:
runtime: php55
api_version: 1
handlers:
# tell appengine where our static assets live
- url: /public
static_dir: public
(I think I'm at least missing something to tell it not to upload the vendor stuff eg. ignore).
How should I update my app.ymal file for project to deploy?
PS Project folders shown below: