Spaces:
Sleeping
Sleeping
Download Dockerfile from vivek1122/Insurance_Leakage: direct link, hf CLI and curl.
- Browser
- Download file 508 Bytes
-
https://huggingface.co/spaces/vivek1122/Insurance_Leakage/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/vivek1122/Insurance_Leakage/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/vivek1122/Insurance_Leakage/resolve/main/Dockerfile
508 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| ENV HOME=/tmp \ | |
| XDG_CONFIG_HOME=/tmp \ | |
| STREAMLIT_HOME=/tmp \ | |
| STREAMLIT_CONFIG_DIR=/tmp/.streamlit \ | |
| STREAMLIT_BROWSER_GATHER_USAGE_STATS=false \ | |
| STREAMLIT_DISABLE_TELEMETRY=1 | |
| RUN mkdir -p /tmp/.streamlit && \ | |
| printf "[server]\nheadless = true\nport = 7860\naddress = \"0.0.0.0\"\n" > /tmp/.streamlit/config.toml | |
| CMD ["streamlit", "run", "app.py"] |