# Use an official Python runtime as a parent image FROM python:3.9-slim # Set the working directory in the container WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ gcc \ && rm -rf /var/lib/apt/lists/* # Install LiteLLM RUN pip install --no-cache-dir litellm # Create folders for Python scripts and HTML docs RUN mkdir /app/scripts /app/html_docs # Copy Python script(s) into the container COPY ./scripts/ /app/scripts/ # Copy HTML docs into the container COPY ./html_docs/ /app/html_docs/ # Set the default command to python CMD ["python"]