chore: update dockerfile

This commit is contained in:
Trevor Mears
2026-01-18 20:53:57 -08:00
parent 358854ad7a
commit 877c6f8df9
+7 -3
View File
@@ -11,21 +11,25 @@
FROM ubuntu:24.04
# Install Node.js, FFmpeg, and hardware acceleration drivers
ARG TARGETARCH
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
ca-certificates \
gnupg \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& if [ "$TARGETARCH" = "amd64" ]; then \
DRIVERS="mesa-va-drivers intel-media-va-driver vainfo"; \
else \
DRIVERS=""; \
fi \
&& apt-get update && apt-get install -y --no-install-recommends \
nodejs \
ffmpeg \
python3 \
make \
g++ \
mesa-va-drivers \
intel-media-va-driver \
vainfo \
$DRIVERS \
&& rm -rf /var/lib/apt/lists/*
# Verify FFmpeg installed