Download Dockerfile from abc1181/browser: direct link, hf CLI and curl.
- Browser
- Download file 647 Bytes
-
https://huggingface.co/spaces/abc1181/browser/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/abc1181/browser/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/abc1181/browser/resolve/main/Dockerfile
647 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| curl wget git build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir \ | |
| flask flask-cors \ | |
| jupyter_kernel_gateway \ | |
| ipykernel \ | |
| jupyter_client \ | |
| nbformat \ | |
| playwright \ | |
| pandas numpy matplotlib seaborn scipy \ | |
| requests beautifulsoup4 pillow \ | |
| openpyxl PyPDF2 python-docx \ | |
| plotly fpdf2 reportlab \ | |
| kaleido | |
| RUN python -m ipykernel install --user | |
| RUN playwright install chromium | |
| RUN playwright install-deps chromium | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python3", "-u", "app.py"] |