Display name only: UI, docs, API title, dashboards, hashtag and User-Agent. Identifiers (package, metrics, env vars, SCROBBLER_CONFIG) are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
10 lines
468 B
Docker
10 lines
468 B
Docker
# Scrobbled web UI: static files served by nginx.
|
|
FROM nginx:1.29-alpine
|
|
LABEL org.opencontainers.image.licenses="BSD-3-Clause"
|
|
ENV API_BASE_URL=http://localhost:5050
|
|
COPY deploy/nginx/default.conf.template /etc/nginx/templates/default.conf.template
|
|
COPY docker/ui-config.sh /docker-entrypoint.d/40-scrobbler-config.sh
|
|
COPY frontend /usr/share/nginx/html
|
|
EXPOSE 80
|
|
HEALTHCHECK --interval=15s --timeout=3s CMD wget -qO- http://127.0.0.1/login.html >/dev/null || exit 1
|