Spaces:
Runtime error
Runtime error
Download Dockerfile from Reza110/Sentiment-Analysis: direct link, hf CLI and curl.
- Browser
- Download file 366 Bytes
-
https://huggingface.co/spaces/Reza110/Sentiment-Analysis/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Reza110/Sentiment-Analysis/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Reza110/Sentiment-Analysis/resolve/main/Dockerfile
366 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| curl \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt ./ | |
| COPY src/ ./src/ | |
| RUN pip3 install --no-cache-dir -r requirements.txt | |
| EXPOSE 8501 | |
| CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"] |