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

# set working directory
WORKDIR /app

# copy the project files
COPY . /app

# install build dependencies
RUN pip install --upgrade pip && \
    pip install hatchling && \
    pip install .

# Expose port if necessary: MCP runs over stdio so use logs

# set default command, note: vault path must be provided at runtime
CMD ["python", "-m", "mcp_server_obsidian_omnisearch", "/path/to/your/obsidian/vault"]
