6 lines
288 B
Docker
6 lines
288 B
Docker
FROM elixir:1.16
|
|
RUN apt update; apt upgrade -y; apt install -y git libmagic-dev gcc make cmake imagemagick ffmpeg libimage-exiftool-perl --no-install-recommends
|
|
RUN useradd -r -m -s /bin/bash -u 888 pleroma
|
|
USER pleroma
|
|
ENV MIX_ENV=prod
|
|
RUN mix local.hex --force; mix local.rebar --force |