Spaces:
Sleeping
Sleeping
Download Dockerfile from jonathanagustin/prefect: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/jonathanagustin/prefect/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jonathanagustin/prefect/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jonathanagustin/prefect/resolve/main/Dockerfile
352 Bytes
| FROM prefecthq/prefect:3.6.5-python3.11 | |
| RUN mkdir -p /data | |
| ENV PREFECT_API_DATABASE_CONNECTION_URL=sqlite+aiosqlite:////data/prefect.db | |
| ENV PREFECT_SERVER_API_HOST=0.0.0.0 | |
| ENV PREFECT_SERVER_API_PORT=7860 | |
| ENV PREFECT_UI_API_URL=https://jonathanagustin-prefect.hf.space/api | |
| ENV HOME=/data | |
| WORKDIR /app | |
| EXPOSE 7860 | |
| CMD ["prefect", "server", "start"] | |