add static dir to build
This commit is contained in:
parent
a3f91c721f
commit
6e63808cc0
|
@ -1,3 +1,4 @@
|
||||||
*
|
*
|
||||||
!akkoma
|
!akkoma
|
||||||
!prod.secret.exs
|
!prod.secret.exs
|
||||||
|
!static
|
||||||
|
|
|
@ -12,6 +12,7 @@ RUN mkdir -p "$(dirname "${PROD_SECRET_FILE}")" && \
|
||||||
USER akkoma
|
USER akkoma
|
||||||
ADD --chown=akkoma:akkoma prod.secret.exs ${PROD_SECRET_FILE}
|
ADD --chown=akkoma:akkoma prod.secret.exs ${PROD_SECRET_FILE}
|
||||||
ADD --chown=akkoma:akkoma akkoma /opt/akkoma
|
ADD --chown=akkoma:akkoma akkoma /opt/akkoma
|
||||||
|
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 && mix local.rebar --force
|
||||||
|
|
BIN
static/images/background.jpg
Normal file
BIN
static/images/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 MiB |
12
static/static/terms-of-service.html
Normal file
12
static/static/terms-of-service.html
Normal 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>
|
Loading…
Reference in a new issue