28 lines
611 B
Docker
28 lines
611 B
Docker
# 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.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
|
|
WORKDIR /root
|
|
USER root
|
|
CMD tail -F /var/log/TBD
|