커밋.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
FROM ros:humble-ros-base
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
COPY bridge.py /app/bridge.py
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends python3-pip ros-humble-nav2-msgs && \
|
||||
pip3 install --no-cache-dir -r /app/requirements.txt && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
CMD bash -c "source /opt/ros/humble/setup.bash && python3 /app/bridge.py"
|
||||
Reference in New Issue
Block a user