Download Dockerfile from zbq111/flow: direct link, hf CLI and curl.
- Browser
- Download file 314 Bytes
-
https://huggingface.co/spaces/zbq111/flow/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/zbq111/flow/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/zbq111/flow/resolve/main/Dockerfile
314 Bytes
| FROM mcr.microsoft.com/playwright/python:v1.49.1-jammy | |
| WORKDIR /app | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV HOME=/tmp | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --root-user-action=ignore -r requirements.txt | |
| RUN playwright install chromium | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "main.py"] |