Provided by Easypanel
Each Dockerizer has its own folder: src/dockerizers/[name]
index.ts # dockerizer schema & generation logic
files/ # files, templates, config files
files.json # compiled from the files folder
tests/
[test-name]/
code/ # test application codebase
input.json # test input for the dockerizer
You can get started by copying the sample dockerizer.
On the UI, there is a one or more pages for each Dockerizer. Those live in src/pages/[name]
Run npm run dev to start the Next.js application.
npm run compile-files- compiles all the files from a dockerizer tofiles.jsonnpm run compile-files-watch- watches for changes and runcompile-filesautomaticallynpm run compile-tests- generates thedockerizerfolder for each test app based oninput.jsonnpm run hadolint- lints all Dockerfiles (make sure you runcompile-testsbefore this)