Spaces:
Runtime error
Runtime error
Download Dockerfile from jayanth-2005/New: direct link, hf CLI and curl.
- Browser
- Download file 569 Bytes
-
https://huggingface.co/spaces/jayanth-2005/New/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jayanth-2005/New/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jayanth-2005/New/resolve/main/Dockerfile
569 Bytes
| FROM python:3.10-slim | |
| # Install system dependencies + Chromium | |
| RUN apt-get update && apt-get install -y \ | |
| wget \ | |
| curl \ | |
| unzip \ | |
| gnupg \ | |
| chromium \ | |
| chromium-driver \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Environment variables | |
| ENV CHROME_BIN=/usr/bin/chromium | |
| ENV CHROMEDRIVER_PATH=/usr/bin/chromedriver | |
| WORKDIR /app | |
| # Install Python deps | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy app | |
| COPY . . | |
| # Run app | |
| CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"] |