mirror of
https://github.com/omnara-ai/omnara.git
synced 2025-08-12 20:39:09 +03:00
20 lines
480 B
Docker
20 lines
480 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy requirements
|
|
COPY servers/requirements.txt /app/servers/requirements.txt
|
|
COPY shared/requirements.txt /app/shared/requirements.txt
|
|
|
|
# Install dependencies
|
|
RUN pip install --no-cache-dir -r servers/requirements.txt
|
|
|
|
# Copy application code
|
|
COPY shared /app/shared
|
|
COPY servers /app/servers
|
|
|
|
# Set Python path
|
|
ENV PYTHONPATH=/app
|
|
|
|
# Run the MCP server from root directory to access shared
|
|
CMD ["python", "-m", "servers.mcp_server.server"] |