Initial web ui and control for robot
This commit is contained in:
@@ -18,7 +18,7 @@ RUN groupadd --gid $USER_GID $USERNAME \
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
|
||||
# C++ development tools
|
||||
RUN apt-get install -y \
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential \
|
||||
cmake \
|
||||
gdb \
|
||||
@@ -28,8 +28,9 @@ RUN apt-get install -y \
|
||||
libboost-all-dev
|
||||
|
||||
# Python development tools
|
||||
RUN apt-get install -y \
|
||||
RUN apt-get update && apt-get install -y \
|
||||
python3-pip \
|
||||
python3-venv \
|
||||
python3-dev \
|
||||
python3-argcomplete \
|
||||
python3-colcon-common-extensions \
|
||||
@@ -45,6 +46,17 @@ RUN apt-get install -y \
|
||||
# ros-${ROS_DISTRO}-ament-lint-auto \
|
||||
# ros-${ROS_DISTRO}-ament-lint-common
|
||||
|
||||
# Node.js for frontend development
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
||||
&& apt-get install -y nodejs
|
||||
|
||||
# Python venv for webui backend (isolated from system packages)
|
||||
RUN python3 -m venv /opt/webui-venv \
|
||||
&& /opt/webui-venv/bin/pip install --no-cache-dir \
|
||||
fastapi \
|
||||
"uvicorn[standard]" \
|
||||
numpy
|
||||
|
||||
ENV SHELL /bin/bash
|
||||
|
||||
# ********************************************************
|
||||
|
||||
Reference in New Issue
Block a user