Small server written in TypeScript that runs on OpenShift with Deno.
Prerequisite: Deno runtime: https://deno.land/#installation
deno run --allow-net server.tsAlternative using Makefile
make runmake 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
