mirror of
https://github.com/BrentNeale1/fx-quant.git
synced 2026-07-28 10:57:43 +00:00
ef950f25dd
Dockerize the order executor with python:3.11-slim, add docker-compose with config volume mount for hot-reload of system.yaml settings. Integrate AI ensemble validation into order execution pipeline and add configurable interval loop (default 60s) to replace container restart cycling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
427 B
Docker
20 lines
427 B
Docker
FROM python:3.11-slim
|
|
|
|
# LightGBM needs libgomp
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
libgomp1 && rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.docker.txt .
|
|
RUN pip install --no-cache-dir -r requirements.docker.txt
|
|
|
|
COPY config/system.yaml config/system.yaml
|
|
COPY src/ src/
|
|
COPY sql/ sql/
|
|
|
|
RUN mkdir -p logs models
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
CMD ["python", "src/order_executor.py"]
|