| 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"] |