aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index e705e515..60a04412 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -40,6 +40,7 @@ ARG BUILD_DATE
RUN apt-get update && apt-get install -y \
wget \
+ tini \
&& rm -rf /var/lib/apt/lists/*
RUN bash -c 'mkdir -p /app/{incomplete,downloads} \
@@ -78,4 +79,4 @@ LABEL org.opencontainers.image.title=slskd \
WORKDIR /slskd
COPY --from=publish /slskd/dist/${TARGETPLATFORM} .
-ENTRYPOINT ["./slskd"] \ No newline at end of file
+ENTRYPOINT ["/usr/bin/tini", "--", "./slskd"] \ No newline at end of file