cadene HF staff commited on
Commit
f7d5504
1 Parent(s): 5445c87

workdir COPY --chown

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -19,9 +19,11 @@ 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
  RUN pip install --upgrade --no-cache-dir pip
23
  RUN pip install --no-cache-dir "." \
24
  --extra-index-url https://download.pytorch.org/whl/cpu
25
  RUN pip install --no-cache-dir flask
26
 
 
27
  CMD ["python", "lerobot/scripts/visualize_dataset_html.py", "--repo-id", "lerobot/koch_pick_place_lego_simple_v2", "--port 9200"]
 
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
+ COPY --chown=user . /lerobot
29
  CMD ["python", "lerobot/scripts/visualize_dataset_html.py", "--repo-id", "lerobot/koch_pick_place_lego_simple_v2", "--port 9200"]