Download Dockerfile.dashboard from HarryDataScience/sentinel-fraud-detection: direct link, hf CLI and curl.
- Browser
- Download file 314 Bytes
-
https://huggingface.co/spaces/HarryDataScience/sentinel-fraud-detection/resolve/main/Dockerfile.dashboard
- Command line
-
hf download hf://spaces/HarryDataScience/sentinel-fraud-detection/Dockerfile.dashboard
-
curl -L -o Dockerfile.dashboard https://huggingface.co/spaces/HarryDataScience/sentinel-fraud-detection/resolve/main/Dockerfile.dashboard
314 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir streamlit plotly shap xgboost scikit-learn joblib requests pandas numpy matplotlib | |
| COPY dashboard/ ./dashboard/ | |
| EXPOSE 8501 | |
| CMD ["streamlit", "run", "dashboard/app.py", "--server.port=8501", "--server.address=0.0.0.0"] | |