dockit is a command-line tool written in Go that simplifies the process of creating Dockerfiles for different project types. With this tool, you can quickly generate Dockerfiles tailored to your specific project, making it easier to containerize your applications.
- Generates Dockerfiles for various project types.
- Simple command-line interface for project selection.
- Option to specify the output directory for the generated Dockerfile.
- Go (Golang) installed on your system.
- Clone or download this repository to your local machine
-
Clone or download this repository to your local machine:
git clone https://github.com/Srijan-SS02/docki.git
-
Navigate to the repository directory:
cd dockit
-
Run the Dockerfile Generator tool:
go run main.go
-
Choose a project type from the list of available options (e.g., "Django" or "Node.js") and press Enter.
Choose a Project type Django Node.js Mojo Enter the project type:
The generated Dockerfile will be displayed in the terminal.
-
To save it to a different directory:
go run main.go /path/to/destination/directory
- Django
- Node.js
- Go
- Flask
- Mojo
You can easily extend this tool to support additional project types by adding Dockerfile templates and updating the ProjectTemplates map in the code. Or you can also raise an issue and we will fix it as soon as possible.