Download Dockerfile from ink85/DocIntel: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/spaces/ink85/DocIntel/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ink85/DocIntel/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ink85/DocIntel/resolve/main/Dockerfile
444 Bytes
| # Use a lightweight Python image | |
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy requirements first (for caching) | |
| COPY requirements.txt . | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy project files | |
| COPY . . | |
| # Expose port 7860 for Streamlit | |
| EXPOSE 7860 | |
| # Run the Streamlit app on 0.0.0.0:7860 | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |