diff --git a/Dockerfile b/Dockerfile index a232ee4..4ba898b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,8 +69,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ curl \ ca-certificates \ && rm -rf /var/lib/apt/lists/* \ - && curl -fsSL https://mimo.xiaomi.com/install | bash + && curl -fsSL https://mimo.xiaomi.com/install | bash \ + && mimo --version +RUN M_PATH=$(find /root -name "mimo" -type f -executable | head -n 1) \ + && if [ -n "$M_PATH" ]; then ln -s "$M_PATH" /usr/bin/mimo; fi RUN mimo --version COPY skills /root/.config/mimocode/skills