This is a Python project that uses the Google Generative AI to generate Dockerfiles based on a given tech stack.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need to have Python installed on your machine. You also need the following Python packages:
- dotenv
- google-generativeai
You can install them using pip:
pip install python-dotenv google-generativeai
- Clone the repository
- Install the prerequisites
- Create a .env file with your Google API key (Gemini):
echo GOOGLE_API_KEY=your_api_key > .env
You can run the script using Python:
python main.py