summaryrefslogtreecommitdiffstats
path: root/Singularity/gpt4free.def
diff options
context:
space:
mode:
author– sanz <sanzbernward@gmail.com>2023-04-27 11:49:42 +0200
committerGitHub <noreply@github.com>2023-04-27 11:49:42 +0200
commit3e48284e40275592a76d9feb2cb44c8d12f5465d (patch)
treee2ba1c947263af6b5a91c50d558cc12b45b21f84 /Singularity/gpt4free.def
parentforefront (gpt-4) (diff)
downloadgpt4free-3e48284e40275592a76d9feb2cb44c8d12f5465d.tar
gpt4free-3e48284e40275592a76d9feb2cb44c8d12f5465d.tar.gz
gpt4free-3e48284e40275592a76d9feb2cb44c8d12f5465d.tar.bz2
gpt4free-3e48284e40275592a76d9feb2cb44c8d12f5465d.tar.lz
gpt4free-3e48284e40275592a76d9feb2cb44c8d12f5465d.tar.xz
gpt4free-3e48284e40275592a76d9feb2cb44c8d12f5465d.tar.zst
gpt4free-3e48284e40275592a76d9feb2cb44c8d12f5465d.zip
Diffstat (limited to '')
-rw-r--r--Singularity/gpt4free.def15
1 files changed, 15 insertions, 0 deletions
diff --git a/Singularity/gpt4free.def b/Singularity/gpt4free.def
new file mode 100644
index 00000000..67bc1241
--- /dev/null
+++ b/Singularity/gpt4free.def
@@ -0,0 +1,15 @@
+Bootstrap: docker
+From: python:3.10-slim
+
+%post
+ apt-get update && apt-get install -y git
+ git clone https://github.com/xtekky/gpt4free.git
+ cd gpt4free
+ pip install --no-cache-dir -r requirements.txt
+ cp gui/streamlit_app.py .
+
+%expose
+ 8501
+
+%startscript
+ exec streamlit run streamlit_app.py