diff --git a/Dockerfile b/Dockerfile index 3337ffe..539be52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,12 @@ -FROM python:3.11-alpine +FROM python:3.11-slim WORKDIR /app -# Audio stack: ffmpeg for MP3 waveform + librosa, libsndfile for soundfile -RUN apk add --no-cache \ +# ffmpeg for librosa audio decoding, libsndfile for soundfile +RUN apt-get update && apt-get install -y --no-install-recommends \ ffmpeg \ - ffmpeg-libs \ - libsndfile && \ - ln -sf /usr/lib/libsndfile.so.1 /usr/lib/libsndfile.so + libsndfile1 && \ + rm -rf /var/lib/apt/lists/* COPY pyproject.toml . RUN pip install --no-cache-dir . diff --git a/lightsync/frontend/app.js b/lightsync/frontend/app.js index d51030d..3a1b4aa 100644 --- a/lightsync/frontend/app.js +++ b/lightsync/frontend/app.js @@ -1,16 +1,17 @@ -// LightSync frontend — Phase 02-03 browser-audio architecture -// Browser