Spaces:
Build error
Build error
Download Dockerfile from nagasaich123/medical-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 551 Bytes
-
https://huggingface.co/spaces/nagasaich123/medical-chatbot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/nagasaich123/medical-chatbot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/nagasaich123/medical-chatbot/resolve/main/Dockerfile
551 Bytes
| FROM python:3.10-slim | |
| # System dependencies | |
| RUN apt-get update && \ | |
| apt-get install -y build-essential git wget curl && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Create app directory | |
| WORKDIR /app | |
| # Copy files | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| COPY app.py . | |
| # Expose Streamlit port | |
| EXPOSE 7860 | |
| # Streamlit settings | |
| ENV STREAMLIT_SERVER_PORT=7860 | |
| ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0 | |
| ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false | |
| CMD ["streamlit", "run", "app.py"] | |