Spaces:
Sleeping
Sleeping
Download DockerFile from Agents-MCP-Hackathon/Link2Doc: direct link, hf CLI and curl.
- Browser
- Download file 481 Bytes
-
https://huggingface.co/spaces/Agents-MCP-Hackathon/Link2Doc/resolve/main/DockerFile
- Command line
-
hf download hf://spaces/Agents-MCP-Hackathon/Link2Doc/DockerFile
-
curl -L -o DockerFile https://huggingface.co/spaces/Agents-MCP-Hackathon/Link2Doc/resolve/main/DockerFile
481 Bytes
| FROM python:3.12-slim | |
| # Install system dependencies for Chrome/Chromium | |
| RUN apt-get update && apt-get install -y \ | |
| wget \ | |
| gnupg \ | |
| unzip \ | |
| curl \ | |
| chromium \ | |
| chromium-driver \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Set Chrome path for Selenium | |
| ENV CHROME_BIN=/usr/bin/chromium | |
| ENV CHROMEDRIVER_PATH=/usr/bin/chromedriver | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |