Awesome Open Source
Awesome Open Source

deno-serverless-poc

This PoC looks at the possibilities of a Serverless runtime for Deno.

  • hayd/deno_docker Alpine Dockerfile
  • basic http server example from the std docs
  • bundles your source for extra fast runtimes, very necessary if you're creating a serverless runtime!

There's a Docker image available over at denoserverless/deno-serverless-poc.

Getting started

Make sure Docker, git, node and yarn are installed

git clone https://github.com/denoserverless/deno-serverless-poc myProject && cd myProject && yarn
# Edit the index.ts, building the Dockerfile will now compile and bundle your source (and keeps an internal cache of all needed dependencies)
docker build -t my-docker-image .
docker run -it --init -p 8080:8080 my-docker-image

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
typescript (11,588
docker (2,914
serverless (660
deno (129
google-cloud-platform (59