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