mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-03-12 04:35:40 -07:00
24 lines
481 B
Docker
24 lines
481 B
Docker
FROM tautulli/tautulli-baseimage:latest
|
|
|
|
LABEL maintainer="Tautulli"
|
|
|
|
ARG BRANCH
|
|
ARG COMMIT
|
|
|
|
ENV TAUTULLI_DOCKER=True
|
|
ENV TZ=UTC
|
|
|
|
WORKDIR /app
|
|
|
|
RUN \
|
|
echo ${BRANCH} > /app/branch.txt && \
|
|
echo ${COMMIT} > /app/version.txt
|
|
|
|
COPY . /app
|
|
|
|
CMD [ "python", "Tautulli.py", "--datadir", "/config" ]
|
|
|
|
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
|