denofn / deno-serverless-poc

PoC Deno image for Google Cloud Run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

PoC Deno image for Google Cloud Run

License:MIT License


Languages

Language:TypeScript 55.6%Language:Dockerfile 44.4%