Shinigami is an open source TypeScript/JavaScript library allowing the user to generate Dockerfiles during runtime.
This library is currently not maintained and is missing some of the features of its counterparts. For now, the project is archived.
This code was originally created as an open source Python module, converted to TypeScript/JavaScript for availability. If you're interested in using the Python version, check it out here. The Python library is currently being supported.
Shinigami was removed from the npm registry, so you'll have to build it directly:
npm run build
import { shinigami } from "shinigami"
// Generates a Dockerfile using the Python 3.9 template
const generateDockerfile = () => {
shinigami("python", "3.9")
}
You can find all available Dockerfiles here: DockDB