Spaces:
Sleeping
Sleeping
Download Dockerfile from Swaraj2003/test_4: direct link, hf CLI and curl.
- Browser
- Download file 533 Bytes
-
https://huggingface.co/spaces/Swaraj2003/test_4/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Swaraj2003/test_4/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Swaraj2003/test_4/resolve/main/Dockerfile
533 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| libgomp1 \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| libsm6 \ | |
| libxrender1 \ | |
| libxext6 \ | |
| libxcb1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt ./ | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "main.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true"] |