Download Dockerfile from HuggingFace0920/MCP-Proxy-Server: direct link, hf CLI and curl.
- Browser
- Download file 585 Bytes
-
https://huggingface.co/spaces/HuggingFace0920/MCP-Proxy-Server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/HuggingFace0920/MCP-Proxy-Server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/HuggingFace0920/MCP-Proxy-Server/resolve/main/Dockerfile
585 Bytes
| FROM ghcr.io/ptbsare/mcp-proxy-server/mcp-proxy-server:latest | |
| COPY sync_data.sh /sync_data.sh | |
| ENV APP_HOME=/mcp-proxy-server | |
| ENV ENABLE_ADMIN_UI=true | |
| ENV ADMIN_USERNAME=admin | |
| ENV ADMIN_PASSWORD=password | |
| SHELL ["/bin/bash", "-c"] | |
| RUN apt-get update && \ | |
| apt-get install -y python3-pip python3-venv && \ | |
| python3 -m venv /mcp-proxy-server/venv && \ | |
| /mcp-proxy-server/venv/bin/pip install --no-cache-dir huggingface_hub && \ | |
| mkdir -p /tools && \ | |
| chmod -R 777 /mcp-proxy-server/config /tools && \ | |
| chmod +x /sync_data.sh | |
| EXPOSE 3663 | |
| ENTRYPOINT ["/sync_data.sh"] |