https://github.com/andymoe/deno-buildpack
A POC https://deno.land buildpack built in the style of https://paketo.io
https://github.com/andymoe/deno-buildpack
buildpack cnb deno poc
Last synced: 7 months ago
JSON representation
A POC https://deno.land buildpack built in the style of https://paketo.io
- Host: GitHub
- URL: https://github.com/andymoe/deno-buildpack
- Owner: andymoe
- Created: 2020-09-25T05:17:07.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-21T21:28:28.000Z (over 4 years ago)
- Last Synced: 2025-03-05T19:17:20.353Z (7 months ago)
- Topics: buildpack, cnb, deno, poc
- Language: Go
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Basic Use
1. Checkout this buildpack repo to a `deno-buildpack` directory.
1. run `scripts/build.sh`
1. Create a `deno-sample-app` directory with at least a `main.ts` file
containing [simple deno program](https://deno.land/manual/examples/http_server)
1. Run `pack set-default-builder paketobuildpacks/builder:base`
1. Run `pack build test-deno-app --path ./deno-sample-app --buildpack ./deno-buildpack`
1. Run `docker run --rm --name deno-test -p 8080:8080 test-deno-app`
1. Finally, you can destroy the running container with `docker rm -f deno-test`## Prerequisite
- [Pack](https://buildpacks.io/docs/tools/pack/cli/install/)
- [Docker](https://docs.docker.com/get-docker/)
- Some JavaScript or TypeScript you'd like to run with [deno](https://deno.land)