Deno on Fly
Dj Walker-Morgan has announced that Deno, a secure runtime for JavaScript and TypeScript, has reached version 1.0. The author explains how to deploy Deno applications onto Fly, allowing them to run closer to users. They discuss the benefits of using a Dockerfile for deployment, which provides complete control over packaging and can lead to smaller image files and better build time performance compared to using a buildpack. The article then walks through building and deploying Deno with a Dockerfile, including creating a Dockerfile, exposing ports, copying dependencies, running the application, and testing locally. Finally, it demonstrates how to deploy the application to Fly using flyctl init and flyctl deploy commands.
Company
Fly.io
Date published
May 14, 2020
Author(s)
Dj Walker-Morgan
Word count
1090
Hacker News points
None found.
Language
English