diff --git a/backend/mt5/Dockerfile b/backend/mt5/Dockerfile index 30ca33e..0425770 100644 --- a/backend/mt5/Dockerfile +++ b/backend/mt5/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Base image with apt packages -FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbullseye-8446af38-ls104 AS base +FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbookworm-876361b9-ls121 AS base ENV TITLE=MetaTrader ENV WINEARCH=win64 @@ -20,8 +20,12 @@ RUN apt-get install -y \ python3-pip \ wget \ python3-pyxdg \ - netcat \ - && pip3 install --upgrade pip + netcat-traditional \ + python3-venv + +RUN python3 -m venv /opt/venv +ENV PATH="/opt/venv/bin:$PATH" +RUN pip install --upgrade pip # Add WineHQ repository key and APT source RUN wget -q https://dl.winehq.org/wine-builds/winehq.key > /dev/null 2>&1\