make-docker-build-succesful #19

Merged
nico merged 5 commits from make-docker-build-succesful into master 2024-02-20 01:06:23 +00:00
Showing only changes of commit 8d13629c8b - Show all commits

Use proper library path for Pillow

PCoder 2024-02-19 20:49:29 +05:30

View file

@ -22,5 +22,8 @@ RUN apk add --update --no-cache \
RUN echo 'INPUT ( libldap.so )' > /usr/lib/libldap_r.so
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Pillow seems to need LIBRARY_PATH set as follows: (see: https://github.com/python-pillow/Pillow/issues/1763#issuecomment-222383534)
RUN LIBRARY_PATH=/lib:/usr/lib /bin/sh -c "pip install --no-cache-dir -r requirements.txt"
COPY ./ .