FROM {{ base_image | default("python:3.11-slim") }} WORKDIR /app COPY . /app {% set pip_opts = "" %} {% if pip_registry %} {% set pip_opts = "--index-url " ~ pip_registry %} {% endif %} RUN pip install --no-cache-dir -U pip RUN pip install --no-cache-dir {{ pip_opts }} fastmcp RUN pip install --no-cache-dir {{ pip_opts }} -r requirements.txt CMD ["python", "src/main.py"]