# Use the official Python image as the base FROM python:3.10-slim # Set environment variables ENV PYTHONUNBUFFERED=1 \ PIP_NO_CACHE_DIR=1 # Install system dependencies RUN apt-get update && \ apt-get install -y --no-install-recommends \ build-essential \ git \ curl \ && apt-get clean && \ rm -rf /var/lib/apt/lists/* # Install smolagents with all optional dependencies RUN pip install smolagents[all] # Install additional dependencies for LLM Studio interaction RUN pip install litellm # Set the working directory WORKDIR /workspace # Expose any necessary ports (adjust as needed) # EXPOSE 8080 # Define the default command CMD ["bash"]