Spaces:
Paused
Paused
Download Dockerfile from arcticaurora/opcm: direct link, hf CLI and curl.
- Browser
- Download file 604 Bytes
-
https://huggingface.co/spaces/arcticaurora/opcm/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/arcticaurora/opcm/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/arcticaurora/opcm/resolve/main/Dockerfile
604 Bytes
| FROM archlinux | |
| RUN pacman -Syu --noconfirm base-devel uv npm git git-lfs pnpm nodejs python-pip --overwrite '*' | |
| RUN pip install mcpo --break-system-packages --no-cache-dir | |
| RUN mkdir -p /.cache && chmod -R 777 /.cache | |
| RUN mkdir -p /.local && chmod -R 777 /.local | |
| RUN mkdir -p /.npm && chown -R 1000:0 /.npm | |
| # manually build markdownify | |
| WORKDIR /app | |
| RUN git clone https://github.com/zcaceres/markdownify-mcp.git | |
| WORKDIR /app/markdownify-mcp | |
| RUN pnpm install && pnpm run build | |
| WORKDIR /app | |
| RUN chmod -R 777 /app | |
| COPY servers.json servers.json | |
| CMD ["mcpo", "--port", "7860", "--config", "servers.json"] |