/deno-buildpack

A POC https://deno.land buildpack built in the style of https://paketo.io

Primary LanguageGo

Basic Use

  1. Checkout this buildpack repo to a deno-buildpack directory.
  2. run scripts/build.sh
  3. Create a deno-sample-app directory with at least a main.ts file containing simple deno program
  4. Run pack set-default-builder paketobuildpacks/builder:base
  5. Run pack build test-deno-app --path ./deno-sample-app --buildpack ./deno-buildpack
  6. Run docker run --rm --name deno-test -p 8080:8080 test-deno-app
  7. Finally, you can destroy the running container with docker rm -f deno-test

Prerequisite

  • Pack
  • Docker
  • Some JavaScript or TypeScript you'd like to run with deno