Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Base image with Python and Rust - Using a newer base image with modern GLIBC
# Base image with Python and Rust
FROM python:3.11-bullseye

# Install Rust toolchain
Expand All @@ -10,15 +10,20 @@ RUN apt-get update && apt-get install -y curl build-essential && \
ENV PATH="/root/.cargo/bin:${PATH}"

# Install openmcp proxy via the installer
RUN curl -sSfL 'https://raw.githubusercontent.com/decentralized-mcp/proxy/refs/heads/master/install.sh' | bash
RUN curl -sSfL 'https://raw.githubusercontent.com/decentralized-mcp/proxy/refs/heads/master/install.sh' | bash || true

# Ensure Cardea is available in PATH
ENV PATH="/root/.local/bin:${PATH}"

# Verify installation (optional, helps debugging)
RUN cardea --version || echo "Cardea installed but version check skipped"

# Set working directory
WORKDIR /app

# Install pip dependencies first for better caching
COPY requirements.txt .

# Install packages
RUN pip install --no-cache-dir -U pip && \
pip install --no-cache-dir openai && \
pip install --no-cache-dir cmcp mcp-python mcp-proxy && \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:

mcp-server:
build: .
command: openmcp run -p 0.0.0.0:3000 -- python app/mcp_tools.py
command: cardea run -p 0.0.0.0:3000 -- python app/mcp_tools.py
ports:
- "3000:3000"
environment:
Expand Down