Face Detector container now able to be created, started and stopped from within miku-bot container

This commit is contained in:
2026-01-11 02:01:41 +02:00
parent 2d3b9d0e08
commit 353c9c9583
14 changed files with 2275 additions and 39 deletions

View File

@@ -14,9 +14,22 @@ RUN apt-get update && apt-get install -y \
ffmpeg \
libgl1 \
libglib2.0-0 \
ca-certificates \
curl \
gnupg \
lsb-release \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install Docker CLI and docker compose plugin so the bot can build/create the face detector container
RUN set -eux; \
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg; \
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" \
> /etc/apt/sources.list.d/docker.list; \
apt-get update; \
apt-get install -y docker-ce-cli docker-compose-plugin; \
apt-get clean; rm -rf /var/lib/apt/lists/*
COPY bot.py .
COPY server_manager.py .
COPY command_router.py .