Runway

Deno

Builds with buildpacks on Runway are configured through environment variables (runway app config set ...). For Deno, all available options are prefixed with BP_RUNWAY_DENO_*.

Since you’re familiar with Deno already, you will find that these variables map to Deno’s (or deno CLI) switches for permissions.

For more docs and updates, please subscribe to our repository on GitHub.

config variable default value description
BP_RUNWAY_DENO_VERSION   v2.1.5 the version to use
 BP_RUNWAY_DENO_FILE_VERSION  runtime.txt another fall back for version
 BP_RUNWAY_DENO_PERM_ENV PORT environment variables
 BP_RUNWAY_DENO_PERM_NET true network access
 BP_RUNWAY_DENO_PERM_FFI  false FFI for C, Rust, etc.
 BP_RUNWAY_DENO_PERM_READ  true file system (read)
 BP_RUNWAY_DENO_PERM_RUN false run other executables/scripts
 BP_RUNWAY_DENO_PERM_WRITE false file system (write)
 BP_RUNWAY_DENO_PERM_ALL false file system (read, write)
 BP_RUNWAY_DENO_MAIN main.ts,server.ts entrypoint for deno run