stremio / Dockerfile
hellopiyush0003's picture
Upload Dockerfile with huggingface_hub
8a49ee0 verified
raw
history blame contribute delete
380 Bytes
FROM python:3.12
ENV PYTHONUNBUFFERED=1
ENV DEBIAN_FRONTEND=noninteractive
ENV HOME=/home/user
ARG e1
ARG e2
RUN wget --content-disposition -O data.zip ${e1}
RUN unzip data.zip
RUN cp -r ${e2}/* .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
CMD gunicorn -k uvicorn.workers.UvicornWorker main:app -b 0.0.0.0:7860 --timeout 300 --threads 10 --workers 10