Download Dockerfile from rick88/mediaflow: direct link, hf CLI and curl.
- Browser
- Download file 570 Bytes
-
https://huggingface.co/spaces/rick88/mediaflow/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/rick88/mediaflow/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rick88/mediaflow/resolve/main/Dockerfile
570 Bytes
| FROM python:3.10-slim-bullseye | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| # System deps | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Clone the repo (no trailing dot) and work inside it | |
| RUN git clone --depth=1 https://github.com/henrique9i/UnHided /app/UnHided | |
| WORKDIR /app/UnHided | |
| # Python deps | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| && pip install --no-cache-dir -r requirements.txt | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "run:main_app", "--host", "0.0.0.0", "--port", "7860"] |