Skip to content

Commit 0e6c505

Browse files
authored
Merge pull request #19 from alokdangre/docker_compose_error
2 parents 346000e + a1c58af commit 0e6c505

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

Dockerfile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Base image with Python and Rust - Using a newer base image with modern GLIBC
1+
# Base image with Python and Rust
22
FROM python:3.11-bullseye
33

44
# Install Rust toolchain
@@ -10,15 +10,20 @@ RUN apt-get update && apt-get install -y curl build-essential && \
1010
ENV 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
1622
WORKDIR /app
1723

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

21-
# Install packages
2227
RUN 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 && \

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)