Check for certs and reload before starting the container.
This commit is contained in:
@@ -20,8 +20,12 @@ COPY ./etc/*.lua /etc/prosody/
|
||||
COPY ./etc/conf.avail/* /etc/prosody/conf.d/
|
||||
RUN rm -rfv /etc/prosody/README*
|
||||
|
||||
## Certs ##
|
||||
RUN prosodyctl cert import /etc/letsencrypt/live
|
||||
|
||||
## Main ##
|
||||
# Install + Run Website
|
||||
WORKDIR /root
|
||||
USER root
|
||||
CMD tail -F /var/log/TBD
|
||||
CMD prosodyctl reload & \
|
||||
tail -F /var/log/prosody/*
|
||||
|
||||
Reference in New Issue
Block a user