Download Dockerfile from nithisri/Face_app: direct link, hf CLI and curl.
- Browser
- Download file 421 Bytes
-
https://huggingface.co/spaces/nithisri/Face_app/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/nithisri/Face_app/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/nithisri/Face_app/resolve/main/Dockerfile
421 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| libglib2.0-0 \ | |
| libgl1 \ | |
| libsm6 \ | |
| libxext6 \ | |
| libxrender1 \ | |
| ffmpeg \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] |