Download Dockerfile from rekacore/api: direct link, hf CLI and curl.
- Browser
- Download file 292 Bytes
-
https://huggingface.co/spaces/rekacore/api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/rekacore/api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rekacore/api/resolve/main/Dockerfile
292 Bytes
| FROM mcr.microsoft.com/playwright/python:v1.47.0-noble | |
| WORKDIR /code | |
| RUN chmod 777 /code | |
| RUN pip install patchright apscheduler fastapi httpx python-multipart uvicorn | |
| RUN mkdir -p /.cache && chmod 777 /.cache | |
| RUN patchright install --with-deps chromium | |
| COPY . . | |
| CMD ["python", "/code/app.py"] |