diff --git a/Dockerfile.sunnypilot b/Dockerfile.sunnypilot index 88a226ad08..abc207171e 100644 --- a/Dockerfile.sunnypilot +++ b/Dockerfile.sunnypilot @@ -9,4 +9,6 @@ WORKDIR ${OPENPILOT_PATH} COPY . ${OPENPILOT_PATH}/ -RUN scons --cache-readonly -j$(nproc) +ENV UV_BIN="/home/batman/.local/bin/" +ENV PATH="$UV_BIN:$PATH" +RUN UV_PROJECT_ENVIRONMENT=$VIRTUAL_ENV uv run scons --cache-readonly -j$(nproc)