This commit is contained in:
Neo
2025-05-26 11:00:16 -07:00
committed by GitHub
4 changed files with 3 additions and 9 deletions

View File

@ -11,8 +11,6 @@ RUN apk --no-cache add \
build-base \
libheif \
libheif-dev \
libavif \
libavif-dev \
ffmpeg \
# from requirements.txt:
py3-yaml \
@ -28,9 +26,8 @@ RUN pip3 install --no-cache-dir --disable-pip-version-check \
"alembic>=0.8.5" \
"coloredlogs==5.0" \
"pyheif==0.6.1" \
"heif-image-plugin>=0.3.2" \
yt-dlp \
"pillow-avif-plugin~=1.1.0"
"heif-image-plugin==0.5.1" \
yt-dlp
RUN apk --no-cache del py3-pip
COPY ./ /opt/app/

View File

@ -1,9 +1,8 @@
alembic>=0.8.5
certifi>=2017.11.5
coloredlogs==5.0
heif-image-plugin==0.3.2
heif-image-plugin==0.5.1
numpy>=1.8.2
pillow-avif-plugin~=1.1.0
pillow>=4.3.0
psycopg2-binary>=2.6.1
pyheif==0.6.1

View File

@ -6,7 +6,6 @@ from typing import Any, Callable, List, Optional, Set, Tuple
import HeifImagePlugin
import numpy as np
import pillow_avif
from PIL import Image
from szurubooru import config, errors

View File

@ -8,7 +8,6 @@ from io import BytesIO
from typing import List
import HeifImagePlugin
import pillow_avif
from PIL import Image as PILImage
from szurubooru import errors