From e1a57645b76922228d795b5cd7eb79e23483955e Mon Sep 17 00:00:00 2001 From: Hyperling Date: Thu, 18 Jun 2026 17:46:16 -0700 Subject: [PATCH] Add functionality to copy the config files to the container. --- Config/Prosody/Dockerfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Config/Prosody/Dockerfile b/Config/Prosody/Dockerfile index 87a6321..5786cf3 100644 --- a/Config/Prosody/Dockerfile +++ b/Config/Prosody/Dockerfile @@ -8,8 +8,15 @@ FROM debian:trixie-slim ## Setup ## # System Dependencies RUN apt-get update && \ - apt-get install -y prosody \ - bash sudo htop + apt-get install -y prosody bash sudo htop + +## Configuration Files ## +# Clear old configurations. +RUN rm -rfv /etc/prosody/conf.avail/* +# Add all the configuration files to the environment. +COPY ./etc/*.lua /etc/prosody/ +COPY ./etc/conf.avail/* /etc/prosody/conf.avail/ +RUN rm -rfv /etc/prosody/README* ## Main ## # Install + Run Website