From 38c03dc423e4f6a54d422f15c2006e992b88e0da Mon Sep 17 00:00:00 2001 From: mbsantiago Date: Fri, 8 Nov 2024 15:58:17 +0000 Subject: [PATCH] Added libsndfile1 to docker dependencies --- Dockerfile | 1 + back/Dockerfile | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3d5358f0..db12fd62 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,6 +72,7 @@ FROM python:3.12-slim-bookworm # Install system dependencies, including libexpat1 and clean up the cache RUN apt-get update && apt-get install -y --no-install-recommends \ libexpat1 \ + libsndfile1 \ && rm -rf /var/lib/apt/lists/* # Copy the application from the builder diff --git a/back/Dockerfile b/back/Dockerfile index 95f890bd..2034bf9c 100644 --- a/back/Dockerfile +++ b/back/Dockerfile @@ -2,6 +2,12 @@ FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim WORKDIR /code +# Install system dependencies, including libexpat1 and clean up the cache +RUN apt-get update && apt-get install -y --no-install-recommends \ + libexpat1 \ + libsndfile1 \ + && rm -rf /var/lib/apt/lists/* + RUN --mount=type=cache,target=/root/.cache/uv \ --mount=type=bind,source=uv.lock,target=uv.lock \ --mount=type=bind,source=pyproject.toml,target=pyproject.toml \