summaryrefslogtreecommitdiffstats
path: root/Singularity/gpt4free.sif
blob: 67bc12410080017fbf1679c3bada765cf2fd0c7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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