Dockerfile make config folder first

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

View file

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