update static dir in placeholder config; combine install steps again

This commit is contained in:
Kegan Myers 2023-07-23 17:25:51 -05:00
parent 6e63808cc0
commit a55ca60df5
2 changed files with 7 additions and 6 deletions

View file

@ -15,8 +15,9 @@ ADD --chown=akkoma:akkoma akkoma /opt/akkoma
ADD --chown=akkoma:akkoma static /opt/akkoma-static
WORKDIR /opt/akkoma
RUN mix local.hex --force && mix local.rebar --force
RUN mix deps.get
RUN mix compile
RUN mix pleroma.frontend install pleroma-fe --ref stable
RUN mix pleroma.frontend install admin-fe --ref stable
RUN mix local.hex --force && \
mix local.rebar --force && \
mix deps.get && \
mix compile && \
mix pleroma.frontend install pleroma-fe --ref stable && \
mix pleroma.frontend install admin-fe --ref stable

View file

@ -29,7 +29,7 @@ config :pleroma, Pleroma.Repo,
config :pleroma, :database, rum_enabled: false
config :pleroma, :instance, static_dir: "/opt/akkoma/instance/static"
config :pleroma, :instance, static_dir: "/opt/akkoma-static"
config :pleroma, Pleroma.Upload,
uploader: Pleroma.Uploaders.S3,