From 6a1225925eab7fadadb79372dea1ee13aad71f58 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Mon, 13 Sep 2021 16:10:07 -0700 Subject: [PATCH] Add docker config file to detect bind mount --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1102325f..8e63124e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,9 +18,11 @@ RUN \ COPY . /app +VOLUME /config +RUN touch /config/DOCKER + CMD [ "python", "Tautulli.py", "--datadir", "/config" ] ENTRYPOINT [ "./start.sh" ] -VOLUME /config EXPOSE 8181 HEALTHCHECK --start-period=90s CMD curl -ILfSs http://localhost:8181/status > /dev/null || curl -ILfkSs https://localhost:8181/status > /dev/null || exit 1