Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +10 -3
Dockerfile
CHANGED
|
@@ -2,12 +2,19 @@ FROM node:18-slim
|
|
| 2 |
|
| 3 |
# Install apt dependencies
|
| 4 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 5 |
-
build-essential
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
| 8 |
|
| 9 |
# Clone the repository with depth 1 (shallow clone)
|
| 10 |
-
RUN git clone --branch update_html_visualizer https://github.com/mishig25/lerobot.git /lerobot
|
| 11 |
|
| 12 |
# Change to the HTML visualizer directory
|
| 13 |
WORKDIR /lerobot/lerobot/html_dataset_visualizer
|
|
|
|
| 2 |
|
| 3 |
# Install apt dependencies
|
| 4 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 5 |
+
build-essential \
|
| 6 |
+
cmake \
|
| 7 |
+
git \
|
| 8 |
+
wget \
|
| 9 |
+
ca-certificates \
|
| 10 |
+
libglib2.0-0 \
|
| 11 |
+
libgl1-mesa-glx \
|
| 12 |
+
libegl1-mesa \
|
| 13 |
+
ffmpeg \
|
| 14 |
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
| 15 |
|
| 16 |
# Clone the repository with depth 1 (shallow clone)
|
| 17 |
+
RUN git clone --depth 1 --branch update_html_visualizer https://github.com/mishig25/lerobot.git /lerobot
|
| 18 |
|
| 19 |
# Change to the HTML visualizer directory
|
| 20 |
WORKDIR /lerobot/lerobot/html_dataset_visualizer
|