FROM python:3.12-slim WORKDIR /model COPY . /model RUN pip install --no-cache-dir -r requirements.txt ENV BMB_MODEL_DIR=/model BMB_HOST=0.0.0.0 BMB_PORT=8000 EXPOSE 8000 CMD ["python", "serve.py"]