From 55acd323f421bf4c463c77ff8395648b8c624b87 Mon Sep 17 00:00:00 2001 From: viewit Date: Wed, 5 Aug 2026 10:25:34 +0200 Subject: [PATCH] fix(docker): copy all refactored bridge modules into the image The Dockerfile still only COPYed the pre-refactor module list, so the testing image built from the split-module branch crashed immediately with ModuleNotFoundError: No module named 'spoolman_client'. Add the new bridge_*.py mixins plus spoolman_client/gcode_store/gcode_meta/ camera/credentials. Verified with a local docker build + run against the real printer. --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index ceec4e4..4ce13e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN pip install --no-cache-dir -r requirements.txt && \ apt-get purge -y gcc python3-dev && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* COPY kobrax_moonraker_bridge.py . +COPY bridge_*.py . COPY web/ ./web/ # Statische Daten (orca_filaments.json etc.) liegen in /app/static/, NICHT in # /app/data/ — letzteres wird vom User als Volume gemountet (Runtime-State). @@ -17,6 +18,11 @@ COPY config_loader.py . COPY env_loader.py . COPY kobrax_client.py . COPY orca_filaments.py . +COPY spoolman_client.py . +COPY gcode_store.py . +COPY gcode_meta.py . +COPY camera.py . +COPY credentials.py . COPY VERSION . COPY anycubic_slicer.crt . COPY anycubic_slicer.key .