Add activate venv in bashrc

This commit is contained in:
Simon Alibert 2024-05-22 19:06:19 +02:00
parent ec96ba0bb0
commit 23cad6dcd9
1 changed files with 3 additions and 0 deletions

View File

@ -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"