Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 516 Bytes

README-Docker.md

File metadata and controls

22 lines (17 loc) · 516 Bytes

To run ShortGPT docker:

First make a .env file with the API keys like this:

GEMINI_API_KEY=put_your_gemini_api_key_here
OPENAI_API_KEY=sk-_put_your_openai_api_key_here
ELEVENLABS_API_KEY=put_your_eleven_labs_api_key_here
PEXELS_API_KEY=put_your_pexels_api_key_here

To run Dockerfile do this:

docker build -t short_gpt_docker:latest .
docker run -p 31415:31415 --env-file .env short_gpt_docker:latest

Export Docker image:

docker save short_gpt_docker > short_gpt_docker.tar