# Dockerfile FROM python:3.11-slim WORKDIR /app # Install required packages RUN apt-get update && apt-get install -y \ iproute2 \ can-utils \ libpython3-dev \ && rm -rf /var/lib/apt/lists/* # Copy all application files COPY . . # Install Python dependencies RUN pip install --no-cache-dir -r requirements.txt CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]