2019-07-04 13:10:38 +00:00
|
|
|
FROM d.xr.to/base AS builder
|
2019-07-23 09:55:07 +00:00
|
|
|
RUN xbps-remote git gcc make libressl-devel elixir && mkdir /app
|
2019-07-04 13:10:38 +00:00
|
|
|
ENV HOME=/app/pleroma
|
|
|
|
ENV MIX_ENV=prod
|
2019-10-01 13:58:19 +00:00
|
|
|
RUN git clone --depth 1 --branch v1.0.7 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
|