by chibat

GitHub Readme.md

Heroku Buildpack for Deno

This is the Heroku buildpack for Deno apps.

Web processes must bind to $PORT, and only the HTTP protocol is permitted for incoming connections.

The buildpack parse Procfile and download all dependencies at push time.The downloaded files are cached.

Getting Started


Specify a Deno Runtime

To specify your Deno version, you also need a runtime.txt file - unless you are using the latest Deno runtime version.

$ cat runtime.txt

Customizing the build process

If your app has a build step that you’d like to run when you deploy, write the required processing in heroku_build.ts.

You may be able to avoid the following error by building in advance.

Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch