We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65799a9 commit 45f51e1Copy full SHA for 45f51e1
Dockerfile
@@ -1,12 +1,14 @@
1
ARG IMAGE_TAG=3.21
2
-FROM --platform=$TARGETPLATFORM ghcr.io/linuxserver/baseimage-alpine:${IMAGE_TAG} AS runtime
+FROM ghcr.io/linuxserver/baseimage-alpine:${IMAGE_TAG} AS runtime
3
4
WORKDIR /app
5
6
COPY ./autopulse /bin
7
8
ENV S6_AUTOPULSE_DIR=/etc/s6-overlay/s6-rc.d/svc-autopulse
9
10
+HEALTHCHECK --interval=10s --timeout=5s --start-period=5s --retries=3 CMD wget --quiet --tries=1 --spider http://127.0.0.1:${AUTOPULSE__APP__PORT:-2875}/stats || exit 1
11
+
12
RUN mkdir -p $S6_AUTOPULSE_DIR && \
13
echo '#!/usr/bin/with-contenv bash' >> $S6_AUTOPULSE_DIR/run && \
14
echo '# shellcheck shell=bash' >> $S6_AUTOPULSE_DIR/run && \
0 commit comments