A deno buildpack (for runway).
Deno is an alternative JavaScript runtime for the server. This buildpacks generates a Docker/OCI image from your application code and includes the correct version of deno to run the server with.
BP_RUNWAY_DENO_VERSION=v1.46.3
BP_RUNWAY_DENO_FILE_VERSION=runtime.txt
BP_RUNWAY_DENO_PERM_ENV=PORT
BP_RUNWAY_DENO_PERM_HRTIME=false
BP_RUNWAY_DENO_PERM_NET=true
BP_RUNWAY_DENO_PERM_FFI=false
BP_RUNWAY_DENO_PERM_READ=true
BP_RUNWAY_DENO_PERM_RUN=false
BP_RUNWAY_DENO_PERM_WRITE=false
BP_RUNWAY_DENO_PERM_ALL=false
BP_RUNWAY_DENO_MAIN=server.ts
Supported permissions:
--allow-env= --allow-hrtime --allow-net= --allow-ffi --allow-read= --allow-run= --allow-write= -A, --allow-all
Configuration is done through environment variables.
Permissions can be generally enabled with a true
value. So for example:
export BP_RUNWAY_DENO_PERM_NET=true
The above allows all net access, but it could be more granular with:
export BP_RUNWAY_DENO_PERM_NET=github.com:443
Order of priority:
Supersedes BP_RUNWAY_DENO_FILE_VERSION
.
Contains a version such as vA.B.C
.
runtime.txt
should contain a version, such as vA.B.C
.
(last) The buildpack also supports a
.dvmrc
file.
See CONTRIBUTING.md for everything (local setup, testing, releasing).