Skip to content

Commit

Permalink
Merge pull request #114 from kailust/main
Browse files Browse the repository at this point in the history
Dockerization
  • Loading branch information
xtekky authored Apr 25, 2023
2 parents 0f5be88 + f48a1b7 commit 1520d8c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1520d8c

Please sign in to comment.