diff options
| author | Shyam Sunder <sgsunder1@gmail.com> | 2022-03-31 18:43:37 -0400 |
|---|---|---|
| committer | Shyam Sunder <sgsunder1@gmail.com> | 2022-03-31 18:43:37 -0400 |
| commit | e746f09911cbe1c94055296310a96ab057daecdb (patch) | |
| tree | 0e872d92367f98fa0ea9d0c68dd648976ed06b87 /server/Dockerfile | |
| parent | 6088e89ea1258ddd7686370355ca2ce4a026f759 (diff) | |
server: fix build error due to broken pip requirements
Pinned pyheif to v0.6.1
Diffstat (limited to 'server/Dockerfile')
| -rw-r--r-- | server/Dockerfile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/server/Dockerfile b/server/Dockerfile index a13e230..487f192 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -7,8 +7,13 @@ WORKDIR /opt/app RUN apk --no-cache add \ python3 \ python3-dev \ - ffmpeg \ py3-pip \ + build-base \ + libheif \ + libheif-dev \ + libavif \ + libavif-dev \ + ffmpeg \ # from requirements.txt: py3-yaml \ py3-psycopg2 \ @@ -19,18 +24,13 @@ RUN apk --no-cache add \ py3-pynacl \ py3-tz \ py3-pyrfc3339 \ - build-base \ - && apk --no-cache add \ - libheif \ - libavif \ - libheif-dev \ - libavif-dev \ && pip3 install --no-cache-dir --disable-pip-version-check \ - alembic \ + "alembic>=0.8.5" \ "coloredlogs==5.0" \ - heif-image-plugin \ + "pyheif==0.6.1" \ + "heif-image-plugin>=0.3.2" \ youtube_dl \ - pillow-avif-plugin \ + "pillow-avif-plugin>=1.1.0" \ && apk --no-cache del py3-pip COPY ./ /opt/app/ |