Add functionality to copy the config files to the container.
This commit is contained in:
@@ -8,8 +8,15 @@ FROM debian:trixie-slim
|
|||||||
## Setup ##
|
## Setup ##
|
||||||
# System Dependencies
|
# System Dependencies
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y prosody \
|
apt-get install -y prosody bash sudo htop
|
||||||
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 ##
|
## Main ##
|
||||||
# Install + Run Website
|
# Install + Run Website
|
||||||
|
|||||||
Reference in New Issue
Block a user