CoolFace
Apppublic

nevermindme/Tvdl-proxy

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile32 linesDownload Raw Back to root
1# Usa l'immagine base di Python2FROM python:3.12-slim3 4# Installa git e certificati SSL5RUN apt-get update && apt-get install -y \6    git \7    ca-certificates \8    && rm -rf /var/lib/apt/lists/*9 10# Imposta la directory di lavoro11WORKDIR /app12 13# Clona il repository GitHub14RUN git clone https://github.com/nzo66/tvproxy .15 16# Installa le dipendenze17RUN pip install --upgrade pip18RUN pip install --no-cache-dir -r requirements.txt19 20# Espone la porta 7860 per Flask/Gunicorn21EXPOSE 786022 23# Comando ottimizzato per avviare il server24CMD ["gunicorn", "app:app", \25     "-w", "4", \26     "--worker-class", "gevent", \27     "--worker-connections", "100", \28     "-b", "0.0.0.0:7860", \29     "--timeout", "120", \30     "--keep-alive", "5", \31     "--max-requests", "1000", \32     "--max-requests-jitter", "100"]