You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
349 B
Docker

FROM d.xr.to/base AS builder
RUN xbps-install -Syu git gcc make libressl-devel elixir && mkdir /app
ENV HOME=/app/pleroma
ENV MIX_ENV=prod
RUN git clone --depth 1 --branch v1.0.0 https://git.pleroma.social/pleroma/pleroma.git /app/pleroma
WORKDIR /app/pleroma
VOLUME /app/pleroma/uploads
COPY files/run-pleroma /bin/run-pleroma
CMD /bin/run-pleroma