Spaces:
Runtime error
Runtime error
Download Dockerfile from pgurazada1/dataframe-agent-docker: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/spaces/pgurazada1/dataframe-agent-docker/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/pgurazada1/dataframe-agent-docker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/pgurazada1/dataframe-agent-docker/resolve/main/Dockerfile
281 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY . . | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true | |
| CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "4", "--threads", "2", "app:dataframe_agent_api"] |