# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config
# syntax=docker/dockerfile:1
FROM python:3.10-slim

# Install build essentials
RUN apt-get update && apt-get install -y --no-install-recommends gcc && rm -rf /var/lib/apt/lists/*

# Set workdir
WORKDIR /app

# Copy project files
COPY README.md LICENSE pyproject.toml ./
COPY src/ ./src

# Install the package
RUN pip install --no-cache-dir .

# Expose default port (not used for stdio)
EXPOSE 8080

# Default command
CMD ["gis-mcp"]
