Fixed critical issues: - TopBar.jsx: Changed useState to useEffect for clock timer (was causing runtime error) - Added .gitignore to exclude build artifacts and node_modules Improvements and additions: - Enhanced docker-compose configs for robust dev/boot modes - Added Dockerfile.dev for dashboard and librespot - Updated Makefile with all necessary targets - Comprehensive README with troubleshooting guide - All API clients with proper error handling and reconnection logic - Mock system fully functional for dev mode - All 4 dashboard pages complete with real-time data binding - Audio pipeline: Spotify/AirPlay/Mopidy → Snapserver → Multiroom zones Project is now fully functional and production-ready: ✓ Builds successfully (React 18 + Vite) ✓ Docker config valid for both dev and boot modes ✓ All components tested and working ✓ Error handling and graceful degradation implemented ✓ Touch-optimized UI with proper styling ✓ Hot reload enabled in dev mode Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
14 lines
500 B
Docker
14 lines
500 B
Docker
FROM debian:bookworm-slim
|
|
ARG VERSION=0.35.0
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends ca-certificates wget \
|
|
&& ARCH=$(dpkg --print-architecture) \
|
|
&& wget -q "https://github.com/badaix/snapcast/releases/download/v${VERSION}/snapclient_${VERSION}-1_${ARCH}_bookworm.deb" \
|
|
-O /tmp/snapclient.deb \
|
|
&& dpkg -i /tmp/snapclient.deb || apt-get install -fy \
|
|
&& rm /tmp/snapclient.deb \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENTRYPOINT ["snapclient"]
|