From 373e147cea94171389cc360bdeac9e9f26740fb9 Mon Sep 17 00:00:00 2001 From: AndreVuillemot160 <84594011+AndreVuillemot160@users.noreply.github.com> Date: Thu, 22 Jul 2021 22:30:20 +0300 Subject: [PATCH 1/2] Fix permissions If you don't fix permissions you aren't going to be able to have emojis and all that stuff. So this command is really important. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 885899e..63bc9ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,4 +30,6 @@ RUN mix local.rebar --force \ VOLUME /pleroma/uploads/ +RUN chown -R pleroma:pleroma ./ + CMD ["mix", "phx.server"] From 6cf8965e414addef57fe7f71f18a96c11be4a8bf Mon Sep 17 00:00:00 2001 From: AndreVuillemot160 <84594011+AndreVuillemot160@users.noreply.github.com> Date: Wed, 28 Jul 2021 18:24:20 +0300 Subject: [PATCH 2/2] Another amount of perms again --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 63bc9ba..cc63ec9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,5 +31,6 @@ RUN mix local.rebar --force \ VOLUME /pleroma/uploads/ RUN chown -R pleroma:pleroma ./ +RUN chown -R pleroma:pleroma /var/lib/pleroma CMD ["mix", "phx.server"]