Add functionality to copy the config files to the container.

This commit is contained in:
2026-06-18 17:46:16 -07:00
parent be1affb0b2
commit e1a57645b7
+9 -2
View File
@@ -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