# 2026-06-11 Hyperling
# https://wiki.debian.org/InstallingProsody
# https://prosody.im/doc/configure

## Image ##
FROM debian:trixie-slim

## Setup ##
# System Dependencies
RUN apt-get update && \
		apt-get install -y prosody \
								bash sudo htop \
								vim

## Configuration Files ##
# Clear old configurations.
RUN rm -rfv /etc/prosody/conf.d/*
# Add all the configuration files to the environment.
COPY ./etc/*.lua /etc/prosody/
COPY ./etc/conf.avail/* /etc/prosody/conf.d/
RUN rm -rfv /etc/prosody/README*

## Main ##
# Install + Run Website
WORKDIR /root
USER root
CMD tail -F /var/log/TBD
