Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

denofn/deno-serverless-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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