From ea675d20cb949eb53a3d93e723ea57d924cbbb2d Mon Sep 17 00:00:00 2001 From: Shyam Sunder Date: Thu, 4 Jun 2020 16:38:26 -0400 Subject: 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 --- server/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'server/Dockerfile') diff --git a/server/Dockerfile b/server/Dockerfile index 3d1c7f8..b0a6d3c 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -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 -- cgit v1.3