Este commit está contenido en:
Your Name
2020-05-28 10:34:48 +00:00
padre b1681711d8
commit 4077ca403d
Se han modificado 15 ficheros con 2077 adiciones y 0 borrados

Ver fichero

@@ -0,0 +1,22 @@
FROM elixir:1.8-slim
ENV MIX_ENV=prod
RUN apt update && apt -y upgrade && apt -y install build-essential git imagemagick && apt clean
RUN adduser --system --disabled-password --home /pleroma pleroma
USER pleroma
WORKDIR /pleroma
RUN git clone https://gitea.hatthieves.es/cloud/pleroma /pleroma \
&& mkdir -p /pleroma/uploads
RUN touch /pleroma/config/prod.secret.exs \
&& mix local.rebar --force \
&& mix local.hex --force \
&& mix deps.get \
&& mix deps.compile \
&& rm /pleroma/config/prod.secret.exs
EXPOSE 4000