summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-25 10:03:42 +0200
committerGitHub <noreply@github.com>2023-04-25 10:03:42 +0200
commit1520d8c4848e9fc1b9dabb0c9409c64d27415b58 (patch)
tree6daa35562a5007ca986d0d7ae53b5f38eb45b16d
parentMerge pull request #111 from kylekirch/main (diff)
parentUpdate README.md (diff)
downloadgpt4free-1520d8c4848e9fc1b9dabb0c9409c64d27415b58.tar
gpt4free-1520d8c4848e9fc1b9dabb0c9409c64d27415b58.tar.gz
gpt4free-1520d8c4848e9fc1b9dabb0c9409c64d27415b58.tar.bz2
gpt4free-1520d8c4848e9fc1b9dabb0c9409c64d27415b58.tar.lz
gpt4free-1520d8c4848e9fc1b9dabb0c9409c64d27415b58.tar.xz
gpt4free-1520d8c4848e9fc1b9dabb0c9409c64d27415b58.tar.zst
gpt4free-1520d8c4848e9fc1b9dabb0c9409c64d27415b58.zip
Diffstat (limited to '')
-rw-r--r--Docker/Dockerfile11
-rw-r--r--README.md13
2 files changed, 23 insertions, 1 deletions
diff --git a/Docker/Dockerfile b/Docker/Dockerfile
new file mode 100644
index 00000000..89ca0e5d
--- /dev/null
+++ b/Docker/Dockerfile
@@ -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"]
diff --git a/README.md b/README.md
index 7d2ed95d..08860dfa 100644
--- a/README.md
+++ b/README.md
@@ -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