mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-26 09:57:24 +03:00
Merge pull request #190 from editor-syntax/main
feat: Singularity Docker added
This commit is contained in:
commit
1829e536d5
15
Singularity/gpt4free.sif
Normal file
15
Singularity/gpt4free.sif
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 New Issue
Block a user