mirror of
https://github.com/nwithan8/plex-prerolls
synced 2025-07-26 03:12:21 +00:00
- Improve Docker build time
This commit is contained in:
@ -8,6 +8,8 @@ COPY requirements.txt requirements.txt
|
||||
# Python virtual environment already exists in base image as /app/venv
|
||||
|
||||
# Install Python requirements
|
||||
# Ref: https://github.com/python-pillow/Pillow/issues/1763
|
||||
RUN LIBRARY_PATH=/lib:/usr/lib /bin/sh -c "/app/venv/bin/pip install --no-cache-dir setuptools_rust" # https://github.com/docker/compose/issues/8105#issuecomment-775931324
|
||||
RUN LIBRARY_PATH=/lib:/usr/lib /bin/sh -c "/app/venv/bin/pip install --no-cache-dir -r requirements.txt"
|
||||
|
||||
# Make Docker /config volume for optional config file
|
||||
|
Reference in New Issue
Block a user