Check for certs and reload before starting the container.

This commit is contained in:
2026-06-19 08:36:49 -07:00
parent 730581c16d
commit 24dba3e2ed
+5 -1
View File
@@ -20,8 +20,12 @@ COPY ./etc/*.lua /etc/prosody/
COPY ./etc/conf.avail/* /etc/prosody/conf.d/ COPY ./etc/conf.avail/* /etc/prosody/conf.d/
RUN rm -rfv /etc/prosody/README* RUN rm -rfv /etc/prosody/README*
## Certs ##
RUN prosodyctl cert import /etc/letsencrypt/live
## Main ## ## Main ##
# Install + Run Website # Install + Run Website
WORKDIR /root WORKDIR /root
USER root USER root
CMD tail -F /var/log/TBD CMD prosodyctl reload & \
tail -F /var/log/prosody/*