Download Dockerfile from ezzygame/xs: direct link, hf CLI and curl.
- Browser
- Download file 344 Bytes
-
https://huggingface.co/spaces/ezzygame/xs/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ezzygame/xs/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ezzygame/xs/resolve/main/Dockerfile
344 Bytes
| FROM mcr.microsoft.com/playwright/python:v1.64.1-noble | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PLAYWRIGHT_BROWSERS_PATH=/ms-playwright \ | |
| PORT=7860 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| COPY static ./static | |
| EXPOSE 7860 | |
| CMD ["sh", "-c", "uvicorn app:app --host 0.0.0.0 --port ${PORT}"] | |