Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 472 Bytes

README-Docker.md

File metadata and controls

21 lines (16 loc) · 472 Bytes

To run ShortGPT docker:

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

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