Spaces:
Sleeping
Sleeping
Download Dockerfile from dn-scribe/scribe-mcp: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/spaces/dn-scribe/scribe-mcp/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dn-scribe/scribe-mcp/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dn-scribe/scribe-mcp/resolve/main/Dockerfile
473 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # RUN pip install 'scribe-python-client[all]' | |
| # RUN pip install --no-cache-dir -e '.[all]' | |
| ENV PYTHONPATH=/app | |
| RUN mkdir -p /app/tmp && chmod -R 777 /app/tmp | |
| EXPOSE 7860 | |
| # CMD ["scribe-client", "--mcp", "--api-token", "$SCRIBE_TOKEN"] | |
| CMD ["python", "-m", "uvicorn", "scribe_python_client.mcp_app.app:app", "--host", "0.0.0.0", "--port", "7860"] | |