updated docker set up instructions with bambu cloud login and docker file skip unused opencv for bambu cloud api

This commit is contained in:
RNL
2026-02-17 23:55:45 +11:00
parent 441db069c5
commit 47d0251494
3 changed files with 91 additions and 35 deletions

View File

@@ -10,7 +10,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
supervisor \
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies
# Install bambu-lab-cloud-api without deps (opencv-python is declared but unused at runtime)
RUN pip install --no-cache-dir bambu-lab-cloud-api --no-deps && \
pip install --no-cache-dir paho-mqtt requests flask flask-cors flask-limiter
# Install project and remaining dependencies
COPY pyproject.toml .
RUN pip install --no-cache-dir ".[standalone]"