Spaces:
Paused
Paused
Download Dockerfile from Neon-AI/Chatbot_test: direct link, hf CLI and curl.
- Browser
- Download file 329 Bytes
-
https://huggingface.co/spaces/Neon-AI/Chatbot_test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Neon-AI/Chatbot_test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Neon-AI/Chatbot_test/resolve/main/Dockerfile
329 Bytes
| # Base image | |
| FROM python:3.12-slim | |
| # Set workdir | |
| WORKDIR /app | |
| # Copy files | |
| COPY requirements.txt . | |
| COPY app.py . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose Streamlit port | |
| EXPOSE 8501 | |
| # Run Streamlit | |
| CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] | |