Download Dockerfile from 4waiz/Edge: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/spaces/4waiz/Edge/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/4waiz/Edge/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/4waiz/Edge/resolve/main/Dockerfile
351 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Streamlit config for Spaces | |
| ENV STREAMLIT_SERVER_PORT=7860 \ | |
| STREAMLIT_SERVER_ADDRESS=0.0.0.0 \ | |
| STREAMLIT_SERVER_HEADLESS=true \ | |
| STREAMLIT_BROWSER_GATHERUSAGESTATS=false | |
| EXPOSE 7860 | |
| CMD ["streamlit","run","app.py"] | |