Spaces:
Sleeping
Sleeping
Download Dockerfile from namish10/contextflow-env-api: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/spaces/namish10/contextflow-env-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/namish10/contextflow-env-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/namish10/contextflow-env-api/resolve/main/Dockerfile
256 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir gradio fastapi uvicorn pydantic numpy httpx | |
| COPY . . | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |