Spaces:
Sleeping
Sleeping
Download Dockerfile from lydiaavin/rag-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 514 Bytes
-
https://huggingface.co/spaces/lydiaavin/rag-chatbot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/lydiaavin/rag-chatbot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/lydiaavin/rag-chatbot/resolve/main/Dockerfile
514 Bytes
| # Use official Python 3.10 slim image | |
| FROM python:3.10-slim | |
| # Set working directory inside container | |
| WORKDIR /app | |
| # Copy requirements.txt and install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| # Copy all the repo code into the container | |
| COPY . . | |
| # Expose Streamlit default port | |
| EXPOSE 8501 | |
| # Command to run the Streamlit app | |
| CMD ["streamlit", "run", "app/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.headless=true"] | |