# Dockerfile for Philips Hue MCP Server
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Install uv for fast dependency installation
RUN pip install --no-cache-dir uv
# Copy project files
COPY pyproject.toml .
COPY src/ src/
# Install dependencies
RUN uv pip install --system -e .
# Set environment variables (will be overridden by docker-compose or runtime)
ENV HUE_BRIDGE_IP=""
ENV HUE_API_KEY=""
# Run the MCP server
CMD ["python", "-m", "hue_mcp_server.server"]