1
0
Fork 0

Merge pull request #114 from kailust/main

Dockerization
This commit is contained in:
t.me/xtekky 2023-04-25 09:03:42 +01:00 committed by GitHub
commit 1520d8c484
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 1 deletions

11
Docker/Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM python:3.10
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/xtekky/gpt4free.git
WORKDIR /gpt4free
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 8501
CMD ["streamlit", "run", "streamlit_app.py"]

View file

@ -29,7 +29,8 @@ By the way, thank you so much for `2k` stars and all the support!!
- [`sqlchat`](./sqlchat/README.md)
- [replit Example (feel free to fork this repl)](#replit)
## Todo <a name="todo"></a>
- [ ] Add a GUI for the repo
@ -77,6 +78,16 @@ pip3 install -r requirements.txt
To start gpt4free GUI run the following command :
`streamlit run streamlit_app.py`
## Docker
Build
```
docker build -t gpt4free:latest -f Docker/Dockerfile .
```
Run
```
docker run -p 8501:8501 gpt4free:latest
```
## ChatGPT clone
> currently implementing new features and trying to scale it, please be patient it may be unstable
> https://chat.chatbot.sex/chat