Spaces:
Runtime error
Runtime error
Download Dockerfile from ghh1125/statsmodels: direct link, hf CLI and curl.
- Browser
- Download file 448 Bytes
-
https://huggingface.co/spaces/ghh1125/statsmodels/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ghh1125/statsmodels/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ghh1125/statsmodels/resolve/main/Dockerfile
448 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| RUN adduser --disabled-password --uid 1000 --gecos "" appuser | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r /app/requirements.txt | |
| COPY statsmodels /app/statsmodels | |
| COPY app.py /app/app.py | |
| ENV MCP_TRANSPORT=http \ | |
| MCP_PORT=7860 | |
| EXPOSE 7860 | |
| USER appuser | |
| ENTRYPOINT ["python", "statsmodels/mcp_output/start_mcp.py"] | |