Create gpt4free.def
This commit is contained in:
parent
98d2b4109e
commit
3e48284e40
1 changed files with 15 additions and 0 deletions
15
Singularity/gpt4free.def
Normal file
15
Singularity/gpt4free.def
Normal file
|
@ -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
|
Loading…
Reference in a new issue