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/
|
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/*
|
||||||
|
|||||||
Reference in New Issue
Block a user