Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkfella authored Nov 16, 2024
1 parent a6df172 commit ac41abb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions apps/bazarr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ ENV PIP_NO_CACHE_DIR=1 \
BAZARR__PORT=6767 \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1
PIP_DISABLE_PIP_VERSION_CHECK=1 \
REQUESTS_CA_BUNDLE=/app/venv/lib/python3.12/site-packages/certifi/cacert.pem


WORKDIR /app
Expand Down Expand Up @@ -61,10 +62,7 @@ RUN echo "**** Installing build and runtime dependencies ****" && \
rm -rf /root/.cache /root/.cargo /tmp/* && \
echo "**** Setting proper ownership and permissions for /app ****" && \
chown -R root:root /app && \
chmod -R 755 /app && \
PYTHON_VERSION=$(python3 -c 'import sys; print(".".join(map(str, sys.version_info[:3])))') && \
echo "Dynamically setting REQUESTS_CA_BUNDLE" && \
echo "REQUESTS_CA_BUNDLE=/app/venv/lib/python$PYTHON_VERSION/site-packages/certifi/cacert.pem" >> /etc/environment
chmod -R 755 /app

USER nobody:nogroup

Expand Down

0 comments on commit ac41abb

Please sign in to comment.