Skip to content

Generate dockerfiles from a simple declarative syntax in typescript and build them with ease ๐Ÿ‹ ๐Ÿš€ โœจ

License

Notifications You must be signed in to change notification settings

tsirysndr/fluentdocker-deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

FluentDocker

deno module deno compatibility

This is a deno module for generating dockerfiles and building docker images easily.

๐Ÿš€ Usage

import { Dockerfile } from "https://deno.land/x/fluentdocker/mod.ts";


const image = new Dockerfile()
  .from("node:18-alpine")
  .run("apk update")
  .expose(8080)
  .cmd("npx --yes serve -s -l 8080");

const dockerfile = image.toString();

console.log(dockerfile);

image.build(".", "node-app-example");

About

Generate dockerfiles from a simple declarative syntax in typescript and build them with ease ๐Ÿ‹ ๐Ÿš€ โœจ

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published