summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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