Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

fix: ffmpeg is required by pydub

Clémence Lesné659fbb23939f
diff --git a/cicd/Dockerfile b/cicd/Dockerfile
index f73c4cc..71cf3fe 100644
--- a/cicd/Dockerfile
+++ b/cicd/Dockerfile
@@ -1,6 +1,13 @@
# Base container
FROM ghcr.io/astral-sh/uv:python3.12-bookworm AS base
+RUN rm -f /etc/apt/apt.conf.d/docker-clean \
+ && echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
+RUN --mount=target=/var/lib/apt/lists,type=cache,id=apt-lists-${TARGETPLATFORM},sharing=locked --mount=target=/root/.cache/pip,type=cache,id=pip-${TARGETPLATFORM},sharing=locked \
+ apt-get update -q \
+ && apt-get install -y -q --no-install-recommends \
+ ffmpeg
+
ARG VERSION
ENV VERSION=${VERSION}