Skip to content

Commit

Permalink
Create gpt4free.def
Browse files Browse the repository at this point in the history
  • Loading branch information
24rr authored Apr 27, 2023
1 parent 98d2b41 commit 3e48284
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Singularity/gpt4free.def
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3e48284

Please sign in to comment.