Face Detector container now able to be created, started and stopped from within miku-bot container
This commit is contained in:
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user