FROM python:3.13-slim WORKDIR /app COPY model.cra /app/model.cra COPY sle_spark.py /app/sle_spark.py COPY requirements.txt /app/requirements.txt RUN python -m pip install --no-cache-dir -r requirements.txt EXPOSE 8000 CMD ["python", "sle_spark.py", "serve-artifact", "--artifact", "model.cra", "--host", "0.0.0.0", "--port", "8000"]