FROM debian:stable WORKDIR /mcpo COPY requirements.txt requirements.txt COPY mcpo_config.json mcpo_config.json COPY gitea_mcp_set.sh gitea_mcp_set.sh RUN apt-get update -y && apt-get install -y python3 virtualenv wget tar python3-pip python3-pip RUN ./gitea_mcp_set.sh RUN pip install -r requirements.txt --break-system-packages EXPOSE 8000 ENTRYPOINT ["mcpo", "--config", "/mcpo/mcpo_config.json"]