fix(audio): web ui download

This commit is contained in:
2026-07-06 19:41:19 +02:00
parent 489d7c645b
commit 41bc1a7ef5
2 changed files with 13 additions and 7 deletions
+12 -6
View File
@@ -1,4 +1,4 @@
FROM node:18-bookworm-slim FROM debian:bookworm-slim
# Install PipeWire, WirePlumber, PulseAudio compat, ALSA, and D-Bus # Install PipeWire, WirePlumber, PulseAudio compat, ALSA, and D-Bus
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
@@ -7,15 +7,21 @@ RUN apt-get update && apt-get install -y \
pipewire-alsa \ pipewire-alsa \
wireplumber \ wireplumber \
dbus-x11 \ dbus-x11 \
git \ curl \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
WORKDIR /app WORKDIR /app
# Clone and build the PipeWire Web Remote interface # Download the precompiled binary based on architecture
RUN git clone https://github.com/oudeis01/pipewire-web-remote.git . \ RUN ARCH=$(uname -m) && \
&& npm install \ if [ "$ARCH" = "aarch64" ]; then \
&& npm run build curl -L -o pipewire-web-remote https://github.com/oudeis01/pipewire-web-remote/releases/latest/download/pipewire-web-remote-aarch64; \
elif [ "$ARCH" = "x86_64" ]; then \
curl -L -o pipewire-web-remote https://github.com/oudeis01/pipewire-web-remote/releases/latest/download/pipewire-web-remote-x86_64; \
else \
echo "Unsupported architecture"; exit 1; \
fi && \
chmod +x pipewire-web-remote
COPY start.sh /start.sh COPY start.sh /start.sh
RUN chmod +x /start.sh RUN chmod +x /start.sh
+1 -1
View File
@@ -24,4 +24,4 @@ sleep 1
chmod -R 777 /tmp/pulse || true chmod -R 777 /tmp/pulse || true
echo "Starting PipeWire Web Remote..." echo "Starting PipeWire Web Remote..."
exec npm start exec ./pipewire-web-remote