Dockerfile 404 B

12345678910111213141516171819202122232425
  1. FROM ros:humble-ros-base
  2. RUN apt-get update && apt-get install -y \
  3. python3-pip \
  4. python3-dev \
  5. build-essential
  6. SHELL ["/bin/bash", "-c"]
  7. RUN pip3 install nicegui
  8. EXPOSE 8000
  9. COPY ros2_ws ros2_ws/
  10. RUN cd ros2_ws && \
  11. source /opt/ros/humble/setup.bash && \
  12. colcon build --symlink-install
  13. COPY basic_example/ros_entrypoint.sh /
  14. ENTRYPOINT ["/ros_entrypoint.sh"]
  15. CMD ["bash"]