Download Dockerfile from rootstrap-org/bert-sentiment-classifier: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/spaces/rootstrap-org/bert-sentiment-classifier/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/rootstrap-org/bert-sentiment-classifier/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rootstrap-org/bert-sentiment-classifier/resolve/main/Dockerfile
265 Bytes
| FROM --platform=linux/amd64 python:3.10 | |
| WORKDIR /bert_sentiment_classifier | |
| COPY ./requirements.txt ./ | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 8501 | |
| CMD ["streamlit", "run", "sentiment_analysis.py", "--server.port=8501", "--server.address=0.0.0.0"] | |