Add docker config file to detect bind mount

This commit is contained in:
JonnyWong16 2021-09-13 16:10:07 -07:00
parent c8d8075830
commit 6a1225925e
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -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