Sign inSign up

dage459/deno

By dage459

Updated about 5 years ago

Deno is a secure runtime for JavaScript and TypeScript

Image
2

466

dage459/deno repository overview

Quick reference:

What is Deno?

Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.

  • Secure by default. No file, network, or environment access, unless explicitly enabled.
  • Supports TypeScript out of the box.
  • Ships only a single executable file.
  • Has built-in utilities like a dependency inspector (deno info) and a code formatter (deno fmt).
  • Has a set of reviewed (audited) standard modules that are guaranteed to work with Deno: deno.land/std

How to use this image

sample:

FROM dage459/deno:<version>
# create a workdir
WORKDIR /deno
# copy your code
COPY ./src/server.ts .
# use the follow line to pre-cache all dependency
RUN deno cache server.ts
# open a port
EXPOSE 8000
# run your code
CMD ["deno", "run", "--allow-net", "server.ts"]
LICENSE

Depend on:

Tag summary

Content type

Image

Digest

Size

41 MB

Last updated

about 5 years ago

docker pull dage459/deno