add static dir to build

This commit is contained in:
Kegan Myers 2023-07-23 17:08:01 -05:00
parent a3f91c721f
commit 6e63808cc0
4 changed files with 35 additions and 21 deletions

View file

@ -1,3 +1,4 @@
*
!akkoma
!prod.secret.exs
!static

View file

@ -12,6 +12,7 @@ RUN mkdir -p "$(dirname "${PROD_SECRET_FILE}")" && \
USER akkoma
ADD --chown=akkoma:akkoma prod.secret.exs ${PROD_SECRET_FILE}
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB

View file

@ -0,0 +1,12 @@
<p>A community where it is safe to be a nerd about all manner of things.</p>
<ul>
<li>Be welcoming to others.</li>
<li>Don't do illegal things. This server is hosted in the US and will comply with its laws.</li>
<li>Don't do things to adversely impact federation with other servers.</li>
<li>Don't do things to adversely impact the operation of this server.</li>
<li>Any NSFW content must be marked as such and have appropriate CWs.</li>
</ul>
<p>Please report any harassment of users on this instance so appropriate action can be taken. Harassment by users of this instance will not be tolerated.</p>
<p>Announcements will be made by the <a href="https://akkoma.nrd.li/nrdli">@nrdli@akkoma.nrd.li</a> account. Enjoy your stay.</p>