File size: 585 Bytes
0344f76
 
 
 
4c1e28a
2bec035
 
 
4c1e28a
231550a
 
4c1e28a
b3e79cf
 
231550a
0344f76
231550a
0344f76
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"]