update static dir in placeholder config; combine install steps again
This commit is contained in:
parent
6e63808cc0
commit
a55ca60df5
11
Dockerfile
11
Dockerfile
|
@ -15,8 +15,9 @@ ADD --chown=akkoma:akkoma akkoma /opt/akkoma
|
||||||
ADD --chown=akkoma:akkoma static /opt/akkoma-static
|
ADD --chown=akkoma:akkoma static /opt/akkoma-static
|
||||||
|
|
||||||
WORKDIR /opt/akkoma
|
WORKDIR /opt/akkoma
|
||||||
RUN mix local.hex --force && mix local.rebar --force
|
RUN mix local.hex --force && \
|
||||||
RUN mix deps.get
|
mix local.rebar --force && \
|
||||||
RUN mix compile
|
mix deps.get && \
|
||||||
RUN mix pleroma.frontend install pleroma-fe --ref stable
|
mix compile && \
|
||||||
RUN mix pleroma.frontend install admin-fe --ref stable
|
mix pleroma.frontend install pleroma-fe --ref stable && \
|
||||||
|
mix pleroma.frontend install admin-fe --ref stable
|
||||||
|
|
|
@ -29,7 +29,7 @@ config :pleroma, Pleroma.Repo,
|
||||||
|
|
||||||
config :pleroma, :database, rum_enabled: false
|
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,
|
config :pleroma, Pleroma.Upload,
|
||||||
uploader: Pleroma.Uploaders.S3,
|
uploader: Pleroma.Uploaders.S3,
|
||||||
|
|
Loading…
Reference in a new issue