summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShyam Sunder <sgsunder1@gmail.com>2022-03-31 18:43:37 -0400
committerShyam Sunder <sgsunder1@gmail.com>2022-03-31 18:43:37 -0400
commite746f09911cbe1c94055296310a96ab057daecdb (patch)
tree0e872d92367f98fa0ea9d0c68dd648976ed06b87
parent6088e89ea1258ddd7686370355ca2ce4a026f759 (diff)
server: fix build error due to broken pip requirements
Pinned pyheif to v0.6.1
-rw-r--r--server/Dockerfile20
-rw-r--r--server/requirements.txt3
2 files changed, 12 insertions, 11 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/
diff --git a/server/requirements.txt b/server/requirements.txt
index 6b032d3..16b29ff 100644
--- a/server/requirements.txt
+++ b/server/requirements.txt
@@ -1,11 +1,12 @@
alembic>=0.8.5
certifi>=2017.11.5
coloredlogs==5.0
-heif-image-plugin>=0.3.2
+heif-image-plugin==0.3.2
numpy>=1.8.2
pillow-avif-plugin>=1.1.0
pillow>=4.3.0
psycopg2-binary>=2.6.1
+pyheif==0.6.1
pynacl>=1.2.1
pyRFC3339>=1.0
pytz>=2018.3