# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM python:3.11-alpine
# Install build dependencies
RUN apk add --no-cache gcc musl-dev libffi-dev
# Set work directory
WORKDIR /app
# Copy project files
COPY . /app
# Install pip dependencies, ignoring scripts
RUN pip install --upgrade pip \
&& pip install --ignore-installed --no-cache-dir .
# Expose MCP server port if needed (typically MCP uses stdio, not network)
# Command to run the MCP server
CMD ["python", "-m", "terminal_controller"]