From 304d149ba6cafd91e9dc13cd9a623ed75effd5b2 Mon Sep 17 00:00:00 2001
From: kail518 <82623773+kailust@users.noreply.github.com>
Date: Tue, 25 Apr 2023 08:51:49 +0700
Subject: Create Dockerfile
---
Docker/Dockerfile | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 Docker/Dockerfile
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"]
--
cgit v1.2.3
From c85ee3196308f9e110f8444d5ef21b873a973a8c Mon Sep 17 00:00:00 2001
From: kail518 <82623773+kailust@users.noreply.github.com>
Date: Tue, 25 Apr 2023 08:53:08 +0700
Subject: Update README.md
---
README.md | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 4fd984c3..00ca6212 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,17 @@ 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)
-
+
+- [Docker](./README.md)
+Build
+```
+docker build -t gpt4free:latest .
+```
+Run
+```
+docker run -p 8501:8501 gpt4free:latest
+```
+
## Todo
- [ ] add a GUI for the repo
--
cgit v1.2.3
From f48a1b7aa9608c3df13458dfe89df059ca54df93 Mon Sep 17 00:00:00 2001
From: kail518 <82623773+kailust@users.noreply.github.com>
Date: Tue, 25 Apr 2023 08:54:19 +0700
Subject: Update README.md
---
README.md | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index 00ca6212..0b795b1e 100644
--- a/README.md
+++ b/README.md
@@ -30,15 +30,6 @@ By the way, thank you so much for `2k` stars and all the support!!
- [replit Example (feel free to fork this repl)](#replit)
-- [Docker](./README.md)
-Build
-```
-docker build -t gpt4free:latest .
-```
-Run
-```
-docker run -p 8501:8501 gpt4free:latest
-```
## Todo
@@ -87,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
--
cgit v1.2.3