feat: mirror a lossless library to MP3 for iPod sync #1

Merged
lyrathorpe merged 6 commits from feat/initial-implementation into main 2026-08-21 15:30:59 +01:00
Showing only changes of commit 81dce801ce - Show all commits
+7 -4
View File
@@ -1,11 +1,14 @@
FROM python:3.13-slim AS runtime
# Alpine rather than Debian slim purely because of ffmpeg's dependencies.
# Debian's ffmpeg depends on libavdevice, which can render to X11, Wayland and
# OpenGL, so it drags in Mesa and with it LLVM (127 MB) and Z3 (27 MB) to
# encode an MP3 on a headless NAS. Alpine's build brings none of that: 576 MB
# down to 189 MB.
FROM python:3.13-alpine AS runtime
ENV PYTHONUNBUFFERED=1
# ffmpeg does the encoding; the application itself has no Python dependencies.
RUN apt-get update \
&& apt-get install --no-install-recommends -y ffmpeg \
&& rm -rf /var/lib/apt/lists/*
RUN apk add --no-cache ffmpeg
WORKDIR /app
COPY pyproject.toml README.md ./