Small server written in TypeScript that runs on OpenShift with Deno.
Prerequisite: Deno runtime: https://deno.land/#installation
deno run --allow-net server.ts
Alternative using Makefile
make run
make docker-run
- Choose From Dockerfile
- Use the URL of this repository (
https://github.com/dbrugger/deno-on-openshift
) - Keep defaults for the rest
- Create.
- That's it. OpenShift will:
- pull the code from the Git repository
- build the image using the Dockerfile
- push the image to the built-in registry
- create the
Deployment
- create the
Service
- create the
Route