Download Dockerfile from udituen/docsqa: direct link, hf CLI and curl.
- Browser
- Download file 344 Bytes
-
https://huggingface.co/spaces/udituen/docsqa/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/udituen/docsqa/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/udituen/docsqa/resolve/main/Dockerfile
344 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt ./ | |
| COPY ./ ./ | |
| RUN pip3 install -r requirements.txt | |
| ENV STREAMLIT_SERVER_ENABLE_XSRF_PROTECTION=false | |
| EXPOSE 8501 | |
| HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health | |
| ENTRYPOINT ["streamlit", "run", "./streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"] |