diff --git a/docker/lerobot-gpu-dev/Dockerfile b/docker/lerobot-gpu-dev/Dockerfile index f83d9670..d684e1be 100644 --- a/docker/lerobot-gpu-dev/Dockerfile +++ b/docker/lerobot-gpu-dev/Dockerfile @@ -41,5 +41,8 @@ RUN conda init bash \ RUN curl -sSL https://install.python-poetry.org | python - ENV PATH="/root/.local/bin:$PATH" +# Ensure conda environment activation and poetry path in .bashrc +RUN echo "source /root/miniconda3/etc/profile.d/conda.sh && conda activate lerobot" >> /root/.bashrc + # Set EGL as the rendering backend for MuJoCo ENV MUJOCO_GL="egl"