Spaces:
Sleeping
Sleeping
Download Dockerfile from Rhodham96/gemini_chatBot: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/spaces/Rhodham96/gemini_chatBot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Rhodham96/gemini_chatBot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Rhodham96/gemini_chatBot/resolve/main/Dockerfile
451 Bytes
| # Use the official Python 3.11.6 image | |
| FROM python:3.11.6 | |
| # Install Streamlit and other dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| # Copy the rest of the app | |
| COPY . . | |
| # Expose the port (optionnal, but cleaner) | |
| EXPOSE 7860 | |
| # Set the working directory | |
| WORKDIR / | |
| # Start the Streamlit app | |
| CMD ["streamlit", "run", "chat-streamlit-app.py", "--server.port", "7860", "--server.address", "0.0.0.0"] |