13 lines
439 B
Docker
13 lines
439 B
Docker
# Ein gemeinsames Image für mcp_server und live_signal_trader (~500 MB statt zwei)
|
|
FROM python:3.11-slim
|
|
|
|
ENV PYTHONUNBUFFERED=1 PIP_NO_CACHE_DIR=1
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
# mt5linux 1.1.x nutzt Python-3.12-Syntax und hat eine andere Server-CLI.
|
|
# 0.1.9 passt zum gmag11-Server; seine uralten Pins (numpy 1.21 …) daher --no-deps.
|
|
RUN pip install --no-deps mt5linux==0.1.9
|
|
|
|
COPY *.py ./
|