Add functionality to copy the config files to the container.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user