From c26ecba05d79796af0c8943523c31e2a1f02cbdb Mon Sep 17 00:00:00 2001 From: Pepijn Date: Thu, 16 Apr 2026 20:28:28 +0200 Subject: [PATCH] fix(docker): re-install lerobot editably after COPY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The nightly huggingface/lerobot-gpu image predates the RoboCasaEnv registration — so `lerobot-eval --env.type=robocasa` fails at argparse with "invalid choice" even after COPY . . overlays the new source. Force an editable reinstall so the venv picks up the current configs.py. Made-with: Cursor --- docker/Dockerfile.benchmark.robocasa | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/Dockerfile.benchmark.robocasa b/docker/Dockerfile.benchmark.robocasa index 9fcf5dbd1..5b64142a2 100644 --- a/docker/Dockerfile.benchmark.robocasa +++ b/docker/Dockerfile.benchmark.robocasa @@ -37,4 +37,8 @@ RUN python -m robocasa.scripts.setup_macros && \ # Overlay the PR's source code on top of the nightly image. COPY --chown=user_lerobot:user_lerobot . . +# Re-install lerobot editably so the new source (with RoboCasaEnv registration) +# replaces the stale package baked into the nightly image. +RUN uv pip install --no-cache --no-deps -e . + CMD ["/bin/bash"]