Spaces:
Build error
Build error
# To run ShortGPT docker: | |
First make a .env file with the API keys like this: | |
```bash | |
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: | |
```bash | |
docker build -t short_gpt_docker:latest . | |
docker run -p 31415:31415 --env-file .env short_gpt_docker:latest | |
``` | |
Export Docker image: | |
```bash | |
docker save short_gpt_docker > short_gpt_docker.tar | |
``` | |