github.com/denoland/deno_docker ↗
Latest dockerfiles and images for Deno - alpine, centos, debian, ubuntu
Open this visualization on its own page →
Contributors
33
Lines of Code
1,250
From
2019-01-06
To
2022-04-21
About denoland/deno_docker
This project provides official Docker images and Dockerfiles for Deno, the JavaScript and TypeScript runtime. It maintains multiple image variants optimized for different use cases, including Alpine Linux for minimal footprints, Debian as the default option, Ubuntu for broader compatibility, a distroless variant for security-focused deployments, and a bin-only image containing just the Deno binary for custom base images.
The repository is designed to make it easy to containerize Deno applications and run them in Docker environments. Users can run Deno's REPL, shell into containers, execute TypeScript or JavaScript files with volume mounts, or use the images as base layers in their own Dockerfiles. The images include a dedicated `deno` user and configure `DENO_DIR` for dependency caching, with special guidance for deployment platforms like Google Cloud Run that have specific caching requirements.
The images are published to both Docker Hub and GitHub Container Registry, making them accessible to the broader developer community. The project includes documentation and examples for common workflows, such as exposing ports for network applications and mounting local directories for development, as well as the option to integrate Deno into custom base images using the binary-only variant.