Skip to content

Commit

Permalink
fix bazarr permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
punoko authored Nov 1, 2023
1 parent b0cd124 commit 179bfd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bazarr/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM debian:latest
WORKDIR /app
VOLUME /config /media
RUN apt-get update && apt-get install -y curl unzip python3-venv \
RUN apt-get update && apt-get install --no-install-recommends -y curl unzip python3-venv \
&& rm -rf /var/lib/apt/lists/*
RUN curl -fsSL https://github.com/morpheus65535/bazarr/releases/latest/download/bazarr.zip -o bazarr.zip \
&& unzip -q bazarr.zip \
&& rm bazarr.zip \
&& python3 -m venv . \
&& /app/bin/pip install --no-cache-dir -r requirements.txt
&& chmod -R 1000:1000 .
EXPOSE 6767
ENTRYPOINT ["/app/bin/python","bazarr.py","--no-update","--config","/config"]
HEALTHCHECK CMD curl -f http://localhost:6767/system/status || exit 1

0 comments on commit 179bfd1

Please sign in to comment.