2019-07-04 13:10:38 +00:00
|
|
|
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
|
2019-07-04 14:33:08 +00:00
|
|
|
RUN git clone --depth 1 --branch v1.0.0 https://git.pleroma.social/pleroma/pleroma.git /app/pleroma
|
2019-07-04 13:10:38 +00:00
|
|
|
WORKDIR /app/pleroma
|
|
|
|
VOLUME /app/pleroma/uploads
|
2019-07-09 12:33:07 +00:00
|
|
|
COPY files/ /bin
|
2019-07-04 13:10:38 +00:00
|
|
|
CMD /bin/run-pleroma
|