fix: api image installs ffmpeg (ffprobe was missing — every upload probe failed ENOENT)

This commit is contained in:
glass beadian 2026-10-14 22:55:02 +00:00
parent 26f3a27eee
commit 87ddc1a206

View file

@ -6,6 +6,7 @@ ARG NEXT_PUBLIC_API_URL=https://api.occupymedia.cc
ENV APP_MODE=${APP} NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
WORKDIR /app
RUN corepack enable
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/*
COPY . .
# Full workspace tree present so every workspace:* dependency resolves.
# Do NOT "optimize" to a filtered install — scheduler/web builds broke on