If you have external dependencies, you should add them as vendored packages.
An alternative solution is building your app locally and deploying it using
the app deploy command. In this case, you would also need a Procfile: