mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Dockerfile make config folder first
This commit is contained in:
parent
6a1225925e
commit
11a5075574
1 changed files with 4 additions and 4 deletions
|
@ -9,17 +9,17 @@ ENV TAUTULLI_DOCKER=True
|
||||||
ENV TZ=UTC
|
ENV TZ=UTC
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
COPY . /app
|
||||||
RUN \
|
RUN \
|
||||||
groupadd -g 1000 tautulli && \
|
groupadd -g 1000 tautulli && \
|
||||||
useradd -u 1000 -g 1000 tautulli && \
|
useradd -u 1000 -g 1000 tautulli && \
|
||||||
echo ${BRANCH} > /app/branch.txt && \
|
echo ${BRANCH} > /app/branch.txt && \
|
||||||
echo ${COMMIT} > /app/version.txt
|
echo ${COMMIT} > /app/version.txt
|
||||||
|
|
||||||
COPY . /app
|
RUN \
|
||||||
|
mkdir /config && \
|
||||||
|
touch /config/DOCKER
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
RUN touch /config/DOCKER
|
|
||||||
|
|
||||||
CMD [ "python", "Tautulli.py", "--datadir", "/config" ]
|
CMD [ "python", "Tautulli.py", "--datadir", "/config" ]
|
||||||
ENTRYPOINT [ "./start.sh" ]
|
ENTRYPOINT [ "./start.sh" ]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue