
# Use an official Python runtime as a parent image
FROM python:3.11-slim

# Set the working directory in the container
WORKDIR /app

EXPOSE 1919

# Add the current directory to the PYTHONPATH
ENV PYTHONPATH=/app

# Copy the current directory contents into the container at /app
COPY . /app/

# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

# Run mcp_cli/server_command.py when the container launches
CMD ["python", "main.py" ,"mcp_cli", "server_command","start"]