chore(docker): add system dependencies for sandbox runtime

This commit is contained in:
yiling
2026-05-20 14:37:42 +08:00
parent e87ca5bb23
commit 75f56edc4c
+3
View File
@@ -25,6 +25,9 @@ WORKDIR /app
COPY --from=mwader/static-ffmpeg:8.1 /ffmpeg /usr/local/bin/
COPY --from=mwader/static-ffmpeg:8.1 /ffprobe /usr/local/bin/
# Install system dependencies for sandbox runtime
RUN apt-get update && apt-get install -y ripgrep bubblewrap socat && rm -rf /var/lib/apt/lists/*
# Copy sharp/img from builder (they are native and already installed)
COPY --from=builder /app/node_modules/sharp ./node_modules/sharp
COPY --from=builder /app/node_modules/@img ./node_modules/@img