# Dockerfile # Start from a slim Python base image FROM python:3.12-slim # Set the working directory inside the container WORKDIR /blaxel # Copy the requirements file first to leverage Docker cache COPY requirements.txt . # Install the Python dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy all the project code into the container # This includes blaxel_main.py, agent_logic.py, mcp_servers.py, etc. COPY . . # This is the command that will run when the container starts. # It executes our FastAPI server, which is configured to # listen on the BL_SERVER_HOST and BL_SERVER_PORT. CMD ["python", "blaxel_main.py"]