Why subfolders are not deployed to Google App Engine nodejs app
<p>I am developing nodejs web app and trying to run it in the Google cloud. </p>

<p>Only files in the root folder get deployed to Google App Engine using <code>gcloud app deploy</code> command.
The appengine/express sample app depends on subfolders and doesn't work when deployed</p>

<p>Steps to reproduce:</p>

<ol>
<li>create simple app with package.json, app.yaml, app.js</li>
<li>create some folders, put some files in them</li>
<li>install gcloud, run gcloud app deploy from application folder</li>
<li>if you required any local modules located in a subfolder, deployment will fail</li>
<li>if your deployment was successful, go to google cloud console, app engine, versions, click on number in Instances column - you will see a list of instances, on the right click ssh.</li>
<li>in the ssh console run "<code>container_exec gaeapp /bin/bash</code>", then "<code>cd app</code>", then "<code>ls</code>"</li>
<li>you will see that no folders were deployed with the application</li>
</ol>

<p>Is this a problem with the environment, gcloud utility or am I doing something wrong?</p>