| # debian.sh --arch 'amd64' out/ 'bookworm' '@1787529600' |
| WORKDIR /app |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl libssl3 && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY kv-tidal /app/kv-tidal # buildkit |
| COPY web /app/web # buildkit |
| ENV HOST=0.0.0.0 PORT=8080 PUID=1000 PGID=1000 DATA_DIR=/data WEB_DIR=/app/web MUSIC_DIR=/music |
| RUN /bin/sh -c mkdir -p /data /music && chmod 777 /data /music && chmod +x /app/kv-tidal # buildkit |
| EXPOSE [8080/tcp] |
| HEALTHCHECK {Test:[CMD-SHELL curl -f http://localhost:8080/rest/ping.view || exit 1] Interval:30s Timeout:5s StartPeriod:5s StartInterval:0s Retries:3} |
| ENTRYPOINT ["/app/kv-tidal"] |