cadene HF staff commited on
Commit
89090d4
1 Parent(s): 932b9b2
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -18,13 +18,11 @@ ENV PATH="/opt/venv/bin:$PATH"
18
  RUN echo "source /opt/venv/bin/activate" >> /root/.bashrc
19
 
20
  # Install LeRobot
21
- RUN git clone https://github.com/huggingface/lerobot.git /lerobot
22
  WORKDIR /lerobot
23
- RUN git fetch origin user/rcadene/2024_05_17_improve_visualize_dataset
24
- RUN git checkout origin/user/rcadene/2024_05_17_improve_visualize_dataset
25
  RUN pip install --upgrade --no-cache-dir pip
26
  RUN pip install --no-cache-dir "." \
27
  --extra-index-url https://download.pytorch.org/whl/cpu
28
  RUN pip install --no-cache-dir flask
29
 
30
- RUN python lerobot/scripts/visualize_dataset_html.py --repo-id lerobot/koch_pick_place_lego_simple_v2 --port 9200
 
18
  RUN echo "source /opt/venv/bin/activate" >> /root/.bashrc
19
 
20
  # Install LeRobot
21
+ RUN git clone --branch user/rcadene/2024_05_17_improve_visualize_dataset https://github.com/huggingface/lerobot.git /lerobot
22
  WORKDIR /lerobot
 
 
23
  RUN pip install --upgrade --no-cache-dir pip
24
  RUN pip install --no-cache-dir "." \
25
  --extra-index-url https://download.pytorch.org/whl/cpu
26
  RUN pip install --no-cache-dir flask
27
 
28
+ CMD ["python", "lerobot/scripts/visualize_dataset_html.py", "--repo-id", "lerobot/koch_pick_place_lego_simple_v2", "--port 9200"]