pleroma: add pleroma container

master
eater 6 years ago
parent 7bc04be512
commit f6120a85d0

@ -0,0 +1,9 @@
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 v0.9.999 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

@ -0,0 +1,4 @@
#!/usr/bin/env bash
cd /app/pleroma;
mix ecto.migrate;
exec mix phx.server;
Loading…
Cancel
Save