From 643ea5a0f2d3d7be26837ede84dc51ea93fc0871 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Tue, 28 Jun 2022 10:43:31 +0200 Subject: [PATCH] pleroma update --- pleroma/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pleroma/Dockerfile b/pleroma/Dockerfile index a5cefde..7c18052 100644 --- a/pleroma/Dockerfile +++ b/pleroma/Dockerfile @@ -1,4 +1,4 @@ -FROM elixir:1.11.3-alpine as build +FROM elixir:1.13-alpine as build ENV MIX_ENV=prod @@ -13,22 +13,25 @@ RUN apk add \ git clone \ -b develop \ https://git.pleroma.social/pleroma/pleroma.git \ - /pleroma && \ - echo "import Mix.Config" > /pleroma/config/prod.secret.exs && \ + /pleroma + +RUN echo "import Mix.Config" > /pleroma/config/prod.secret.exs && \ cd /pleroma && \ mix local.hex --force && \ mix local.rebar --force && \ mix deps.get --only prod && \ + mix deps.update gun && \ mkdir -p /pleroma/release && \ mix release --path release -FROM alpine:3.13 +FROM alpine:3.16 RUN apk add --update --no-cache \ exiftool \ imagemagick \ libmagic \ ncurses \ + ffmpeg \ postgresql-client && \ addgroup \ --gid 10001 \