Status | experimental |
OCI Reference | cgr.dev/chainguard/deno |
- View Image in Chainguard Academy
- View Image Catalog for a full list of available tags. Contact Chainguard for enterprise support, SLAs, and access to older tags.
Minimal container image for running deno apps
The image specifies a default non-root deno
user (UID 65532), and a working directory at /app
, owned by that deno
user, and accessible to all users.
The image is available on cgr.dev
:
docker pull cgr.dev/chainguard/deno:latest
Navigate to the example/
directory:
cd example/
The Dockerfile is based on Deno's webserver tutorial, but packages it up into a Chainguard deno image.
Build the application on the deno base image.
docker build \
--tag deno-docker \
.
Then you can run the image:
docker run \
--rm -it \
-p 8080:8080 \
deno-docker
...and test to see that it works:
$ curl localhost:8080
Your user-agent is:
curl/7.84.0%