DEV Community

Rogier van den Berg
Rogier van den Berg

Posted on

2 2

Deno in Docker on Google Cloud Run

This weekend I read a lot about Deno, "A secure runtime for JavaScript and TypeScript." It's built on V8 and Rust, by Ryan Dahl, the creator of Node.js and it would basically 'fix' many things that are 'wrong' about Node.js and would be a "fun and productive scripting environment".

It intrigued me, so I took a first look 😊

Playing around

After some playing and reading (this is an amazing source!) I figured it would be nice to have an easy starting point for a Deno project running inside Docker and also on Google Cloud Run.

Deno in Docker (on Cloud Run)

I wanted to make a concrete example of Deno, running on Cloud Run. So I build just that. A "Hello world" of Deno, with a Dockerfile (that pre fetches all dependencies) to easily run it anywhere + deployment to Cloud Run.

You can see the result here: https://github.com/rogiervandenberg/deno-docker-cloudrun Of course with an easy single click deployment button 🎉

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more