Skip to content

easypanel-io/dockerizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 15, 2024
dd35009 · Feb 15, 2024

History

92 Commits
Jan 9, 2024
Feb 15, 2024
Jan 12, 2024
Jan 31, 2024
Jan 11, 2024
Jan 12, 2024
Jan 31, 2024
Jan 31, 2024
Jan 9, 2024
Jan 11, 2024
Jan 11, 2024
Jan 12, 2024

Repository files navigation

Dockerizer

Provided by Easypanel

Codebase Structure

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]

Development

Run npm run dev to start the Next.js application.

Scripts

  • npm run compile-files - compiles all the files from a dockerizer to files.json
  • npm run compile-files-watch - watches for changes and run compile-files automatically
  • npm run compile-tests - generates the dockerizer folder for each test app based on input.json
  • npm run hadolint - lints all Dockerfiles (make sure you run compile-tests before this)