File size: 427 Bytes
8f253b3 44c2214 8f253b3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | FROM python:3.11-slim
RUN pip install --no-cache-dir flask kafka-python requests \
numpy pandas scikit-learn "stable-baselines3[extra]" huggingface_hub
WORKDIR /app
# shared/ is mounted as /app/shared at runtime (via docker-compose volume)
# Copy clearing house service files
COPY clearing_house/ /app/clearing_house/
RUN mkdir -p /app/data
WORKDIR /app/clearing_house
ENV PYTHONPATH=/app
CMD ["python", "app.py"]
|