Add libheif/libavif to Dockerfile dependencies
This commit is contained in:
parent
1be2d95bb1
commit
2949431d9a
1 changed files with 9 additions and 0 deletions
|
@ -6,6 +6,7 @@ WORKDIR /opt/app
|
||||||
|
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
python3 \
|
python3 \
|
||||||
|
python3-dev \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
# from requirements.txt:
|
# from requirements.txt:
|
||||||
|
@ -18,10 +19,18 @@ RUN apk --no-cache add \
|
||||||
py3-pynacl \
|
py3-pynacl \
|
||||||
py3-tz \
|
py3-tz \
|
||||||
py3-pyrfc3339 \
|
py3-pyrfc3339 \
|
||||||
|
build-base \
|
||||||
|
&& apk --no-cache add --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
|
||||||
|
libheif \
|
||||||
|
libavif \
|
||||||
|
libheif-dev \
|
||||||
|
libavif-dev \
|
||||||
&& pip3 install --no-cache-dir --disable-pip-version-check \
|
&& pip3 install --no-cache-dir --disable-pip-version-check \
|
||||||
alembic \
|
alembic \
|
||||||
"coloredlogs==5.0" \
|
"coloredlogs==5.0" \
|
||||||
youtube_dl \
|
youtube_dl \
|
||||||
|
pillow-avif-plugin \
|
||||||
|
pyheif-pillow-opener \
|
||||||
&& apk --no-cache del py3-pip
|
&& apk --no-cache del py3-pip
|
||||||
|
|
||||||
COPY ./ /opt/app/
|
COPY ./ /opt/app/
|
||||||
|
|
Loading…
Reference in a new issue