server/docker: fix missing installation requirements

Furthermore, an update to Pillow has improved the floating-point
precision of the image hash algorithm, requiring minor updates to
the respective unit tests.

See https://github.com/python-pillow/Pillow/pull/4320
This commit is contained in:
Shyam Sunder
2020-06-04 16:38:26 -04:00
parent 6a95a66f12
commit ea675d20cb
5 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:latest
FROM alpine:3.12
WORKDIR /opt/app
RUN \
@ -7,6 +7,7 @@ RUN \
dumb-init \
ffmpeg \
py3-waitress \
py3-pip \
# from requirements.txt:
py3-yaml \
py3-psycopg2 \
@ -22,7 +23,7 @@ RUN \
alembic \
"coloredlogs==5.0" \
youtube-dl \
&& exit 0
&& apk --no-cache del py3-pip
ARG PUID=1000
ARG PGID=1000