Spaces:
Sleeping
Sleeping
SemSorter commited on
Commit ·
b97f1d0
1
Parent(s): 93d5b3b
Optimize mujoco_menagerie clone to fix Render memory limit
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -24,7 +24,10 @@ RUN pip install --no-cache-dir -r requirements-server.txt
|
|
| 24 |
COPY . .
|
| 25 |
|
| 26 |
# ── Download MuJoCo Menagerie (Panda arm) ─────────────────────────────────────
|
| 27 |
-
RUN git clone --depth 1 https://github.com/google-deepmind/mujoco_menagerie.git
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
# ── MuJoCo environment ────────────────────────────────────────────────────────
|
| 30 |
ENV MUJOCO_GL=egl
|
|
|
|
| 24 |
COPY . .
|
| 25 |
|
| 26 |
# ── Download MuJoCo Menagerie (Panda arm) ─────────────────────────────────────
|
| 27 |
+
RUN git clone --depth 1 --filter=blob:none --sparse https://github.com/google-deepmind/mujoco_menagerie.git \
|
| 28 |
+
&& cd mujoco_menagerie \
|
| 29 |
+
&& git sparse-checkout set franka_emika_panda \
|
| 30 |
+
&& rm -rf .git
|
| 31 |
|
| 32 |
# ── MuJoCo environment ────────────────────────────────────────────────────────
|
| 33 |
ENV MUJOCO_GL=egl
|