commit: 15550f7c4bf75401d0f18add0f847f640acc6627
parent 9fc3356a06158c21c7e113552de4bcf2a6426df7
Author: feld <feld@feld.me>
Date: Sat, 21 Nov 2020 18:29:26 +0000
Merge branch 'cherry-pick-a65fc78c' into 'stable'
Dockerfile fixes for stable
See merge request pleroma/pleroma!3169
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
@@ -4,7 +4,7 @@ COPY . .
ENV MIX_ENV=prod
-RUN apk add git gcc g++ musl-dev make cmake &&\
+RUN apk add git gcc g++ musl-dev make cmake file-dev &&\
echo "import Mix.Config" > config/prod.secret.exs &&\
mix local.hex --force &&\
mix local.rebar --force &&\
@@ -33,7 +33,7 @@ ARG DATA=/var/lib/pleroma
RUN echo "http://nl.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories &&\
apk update &&\
- apk add exiftool imagemagick ncurses postgresql-client &&\
+ apk add exiftool imagemagick libmagic ncurses postgresql-client &&\
adduser --system --shell /bin/false --home ${HOME} pleroma &&\
mkdir -p ${DATA}/uploads &&\
mkdir -p ${DATA}/static &&\