File size: 533 Bytes
2be6245
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM python:3.10-slim

# Install system dependencies
RUN apt-get update \
	&& apt-get install -y git curl \
	&& rm -rf /var/lib/apt/lists/*

# Set workdir
WORKDIR /app

# Install Python dependencies
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

# Copy MCP server code
COPY . /app/

# Make run_server.py executable
RUN chmod +x /app/run_server.py

# Expose port for MCP server
EXPOSE 8081

# Start the MCP server
CMD ["python", "run_server.py", "--host", "0.0.0.0", "--port", "8081"]