Empower your dev workflow with AI generated Dockerfiles

About the Project

Dockertize is a Dockerfile generation tool built with Node.js and TypeScript. With Dockertize, you can easily generate a Dockerfile for your project, specifying the base image, dependencies, ports, environment variables, files to copy, and entry point. The generated Dockerfile is optimized for production use, uses a multi-stage build to minimize the final image size, and follows best practices for security and performance.

Getting Started

Installation

To use Dockertize, you will need to have Node.js installed on your machine. You can install it from the official website: Node.js.

Once you have Node.js installed, you can install Dockertize using npm:

npm install -g dockertize

You will need to an OpenAI API key. You can get one for free by signing up here: OpenAI

Once you have your API key, you will need to run this command to set the environment variable:

dockertize-setup-env

Once your API key is set up, to use Dockertize simply run the following command:

dockertize

This will start the Dockerfile generation process. You will be prompted to provide information about your project, such as the base image, dependencies, ports, environment variables, files to copy, and entry point. Once you have provided all the necessary information, Dockertize will generate a Dockerfile for you in the same directory.

Roadmap

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project