Skip to content

Latest commit

 

History

History
executable file
·
33 lines (19 loc) · 947 Bytes

README.md

File metadata and controls

executable file
·
33 lines (19 loc) · 947 Bytes

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

https://github.com/chibat/heroku-deno-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
v1.8.2

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

Example