# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM python:3.12-slim

WORKDIR /app

# Copy the project files
COPY . .

# Install pip and build dependencies
RUN pip install --upgrade pip \
&& pip install . --no-cache-dir --ignore-installed

# Expose port if necessary (e.g., uv might use a port, but MCP over stdio so not needed here)

# Use the basic-memory entrypoint to run the MCP server
CMD ["basic-memory", "mcp"]