File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1- # Base image with Python and Rust - Using a newer base image with modern GLIBC
1+ # Base image with Python and Rust
22FROM python:3.11-bullseye
33
44# Install Rust toolchain
@@ -10,15 +10,20 @@ RUN apt-get update && apt-get install -y curl build-essential && \
1010ENV PATH="/root/.cargo/bin:${PATH}"
1111
1212# Install openmcp proxy via the installer
13- RUN curl -sSfL 'https://raw.githubusercontent.com/decentralized-mcp/proxy/refs/heads/master/install.sh' | bash
13+ RUN curl -sSfL 'https://raw.githubusercontent.com/decentralized-mcp/proxy/refs/heads/master/install.sh' | bash || true
14+
15+ # Ensure Cardea is available in PATH
16+ ENV PATH="/root/.local/bin:${PATH}"
17+
18+ # Verify installation (optional, helps debugging)
19+ RUN cardea --version || echo "Cardea installed but version check skipped"
1420
1521# Set working directory
1622WORKDIR /app
1723
1824# Install pip dependencies first for better caching
1925COPY requirements.txt .
2026
21- # Install packages
2227RUN pip install --no-cache-dir -U pip && \
2328 pip install --no-cache-dir openai && \
2429 pip install --no-cache-dir cmcp mcp-python mcp-proxy && \
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ services:
1818
1919 mcp-server :
2020 build : .
21- command : openmcp run -p 0.0.0.0:3000 -- python app/mcp_tools.py
21+ command : cardea run -p 0.0.0.0:3000 -- python app/mcp_tools.py
2222 ports :
2323 - " 3000:3000"
2424 environment :
You can’t perform that action at this time.
0 commit comments