Merge pull request #114 from kailust/main
Browse files- Docker/Dockerfile +11 -0
- README.md +12 -1
Docker/Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10
|
2 |
+
|
3 |
+
RUN apt-get update && apt-get install -y git
|
4 |
+
|
5 |
+
RUN git clone https://github.com/xtekky/gpt4free.git
|
6 |
+
WORKDIR /gpt4free
|
7 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
8 |
+
|
9 |
+
EXPOSE 8501
|
10 |
+
|
11 |
+
CMD ["streamlit", "run", "streamlit_app.py"]
|
README.md
CHANGED
@@ -29,7 +29,8 @@ By the way, thank you so much for `2k` stars and all the support!!
|
|
29 |
- [`sqlchat`](./sqlchat/README.md)
|
30 |
|
31 |
- [replit Example (feel free to fork this repl)](#replit)
|
32 |
-
|
|
|
33 |
## Todo <a name="todo"></a>
|
34 |
|
35 |
- [ ] Add a GUI for the repo
|
@@ -77,6 +78,16 @@ pip3 install -r requirements.txt
|
|
77 |
To start gpt4free GUI run the following command :
|
78 |
`streamlit run streamlit_app.py`
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
## ChatGPT clone
|
81 |
> currently implementing new features and trying to scale it, please be patient it may be unstable
|
82 |
> https://chat.chatbot.sex/chat
|
|
|
29 |
- [`sqlchat`](./sqlchat/README.md)
|
30 |
|
31 |
- [replit Example (feel free to fork this repl)](#replit)
|
32 |
+
|
33 |
+
|
34 |
## Todo <a name="todo"></a>
|
35 |
|
36 |
- [ ] Add a GUI for the repo
|
|
|
78 |
To start gpt4free GUI run the following command :
|
79 |
`streamlit run streamlit_app.py`
|
80 |
|
81 |
+
## Docker
|
82 |
+
Build
|
83 |
+
```
|
84 |
+
docker build -t gpt4free:latest -f Docker/Dockerfile .
|
85 |
+
```
|
86 |
+
Run
|
87 |
+
```
|
88 |
+
docker run -p 8501:8501 gpt4free:latest
|
89 |
+
```
|
90 |
+
|
91 |
## ChatGPT clone
|
92 |
> currently implementing new features and trying to scale it, please be patient it may be unstable
|
93 |
> https://chat.chatbot.sex/chat
|