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

ENV PYTHONUNBUFFERED=1
WORKDIR /app

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

# Install dependencies and MCP server
RUN pip install --upgrade pip \
    && pip install . \
    && pip install click httpx pydantic

# Default entrypoint for the MCP server
ENTRYPOINT ["browser-use-mcp"]
