Skip to content

Commit

Permalink
Added libsndfile1 to docker dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsantiago committed Nov 8, 2024
1 parent 01dafb3 commit 38c03dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions back/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 38c03dc

Please sign in to comment.