From 06384b9a191091ef2949454573ea5a422105a68f Mon Sep 17 00:00:00 2001 From: Kegan Myers Date: Sun, 23 Jul 2023 12:53:07 -0500 Subject: [PATCH] split compile and fe install steps --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2384552..00e1760 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,14 +4,12 @@ FROM registry.nrd.li/nrdli/akkoma-base:${AKKOMA_COMMIT} ENV PROD_SECRET_FILE=/config/prod.secret.exs ADD akkoma /opt/akkoma -ADD .git /opt/.git ADD prod.exs /opt/akkoma/config/prod.exs USER root RUN mkdir /config && touch /config/prod.secret.exs && chown -R 1000:1000 /opt && chown -R 1000:1000 /config USER akkoma -RUN mix deps.get && \ - mix compile && \ - mix pleroma.frontend install pleroma-fe --ref stable && \ - mix pleroma.frontend install admin-fe --ref stable +RUN mix deps.get && mix compile +RUN mix pleroma.frontend install pleroma-fe --ref stable +RUN mix pleroma.frontend install admin-fe --ref stable