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
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . /app
|
||||
RUN \
|
||||
groupadd -g 1000 tautulli && \
|
||||
useradd -u 1000 -g 1000 tautulli && \
|
||||
echo ${BRANCH} > /app/branch.txt && \
|
||||
echo ${COMMIT} > /app/version.txt
|
||||
|
||||
COPY . /app
|
||||
|
||||
RUN \
|
||||
mkdir /config && \
|
||||
touch /config/DOCKER
|
||||
VOLUME /config
|
||||
RUN touch /config/DOCKER
|
||||
|
||||
CMD [ "python", "Tautulli.py", "--datadir", "/config" ]
|
||||
ENTRYPOINT [ "./start.sh" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue