[READ-ONLY] Mirror of https://github.com/FoxxMD/multi-scrobbler. Scrobble plays from multiple sources to multiple clients docs.multi-scrobbler.app
deezer docker jellyfin koito lastfm listenbrainz maloja mopidy mpris music music-assistant plex scrobble self-hosted spotify subsonic tautulli youtube-music
0

Configure Feed

Select the types of activity you want to include in your feed.

Working dockerfile

FoxxMD (Jan 18, 2024, 4:59 PM EST) c11da3df 0d68fea0

+5 -4
+2 -3
Dockerfile
··· 59 59 #COPY --chown=abc:abc package.json yarn.lock ./ 60 60 COPY --chown=abc:abc package*.json ./ 61 61 COPY --chown=abc:abc patches ./patches 62 - COPY --from=build --chown=abc:abc /app/build /app/build 62 + COPY --from=build --chown=abc:abc /app/dist /app/dist 63 + COPY --from=build --chown=abc:abc /app/src /app/src 63 64 COPY --from=base /usr/local/bin /usr/local/bin 64 65 COPY --from=base /usr/local/lib /usr/local/lib 65 66 ··· 77 78 RUN npm install --omit=dev \ 78 79 && npm cache clean --force \ 79 80 && chown -R abc:abc node_modules \ 80 - && rm -rf node_modules/ts-node \ 81 - && rm -rf node_modules/typescript \ 82 81 && rm -rf node_modules/@types 83 82 84 83 ARG webPort=9078
+2 -1
docker/root/etc/s6-overlay/s6-rc.d/svc-node/run
··· 4 4 5 5 # NODE_ARGS can be passed by ENV in docker command like "docker run foxxmd/multi-scrobbler -e NODE_ARGS=--optimize_for_size" 6 6 echo -e "\nmulti-scrobbler is starting!" 7 + export NODE_ENV=production 7 8 cd /app || exit 8 9 exec \ 9 - s6-setuidgid abc /usr/bin/node $NODE_ARGS /app/build/server.js 10 + s6-setuidgid abc /usr/bin/node $NODE_ARGS /app/node_modules/.bin/tsx /app/src/backend/index.ts
+1
src/backend/server/index.ts
··· 47 47 setupApi(app, logger, initialOutput); 48 48 49 49 const server = app.listen(port); 50 + ViteExpress.config({mode: isProd ? 'production' : 'development'}); 50 51 ViteExpress.bind(app, server); 51 52 52 53 const addy = getAddress();