summaryrefslogtreecommitdiff
path: root/server/Dockerfile
diff options
context:
space:
mode:
authorShyam Sunder <sgsunder1@gmail.com>2020-06-04 16:38:26 -0400
committerShyam Sunder <sgsunder1@gmail.com>2020-06-04 16:38:26 -0400
commitea675d20cb949eb53a3d93e723ea57d924cbbb2d (patch)
treea9f5867f2e8e29a4fd1d1d2dc7fc970a66265d76 /server/Dockerfile
parent6a95a66f12a5407cfd8ffa7e373f756236bf0bce (diff)
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
Diffstat (limited to 'server/Dockerfile')
-rw-r--r--server/Dockerfile5
1 files changed, 3 insertions, 2 deletions
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