From bc185fe6fd04fd33c7f93327003c0758f4c6bead Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Sat, 8 Nov 2025 23:28:40 +0100 Subject: Initial release --- Containerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Containerfile (limited to 'Containerfile') diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..4cd297b --- /dev/null +++ b/Containerfile @@ -0,0 +1,19 @@ +FROM debian:12-slim + +ENV __FLUSH_LOG=yes + +RUN apt-get update \ + && yes | apt-get install --no-install-recommends extrepo tini \ + && extrepo enable prosody \ + && apt-get update \ + && yes | apt-get install --no-install-recommends prosody-13.0 lua5.4 lua-unbound lua-sec lua-readline lua-dbi-postgresql luarocks lua5.4-dev \ + && update-alternatives --set lua-interpreter /usr/bin/lua5.4 \ + && rm -fr /var/lib/apt/lists/* + +RUN mkdir -p /etc/prosody/conf.d /var/run/prosody +RUN chown prosody:prosody /etc/prosody/conf.d /var/run/prosody + +COPY entrypoint.sh /entrypoint.sh +COPY prosody.cfg.lua /etc/prosody/prosody.cfg.lua + +CMD [ "/usr/bin/tini", "--", "/entrypoint.sh" ] -- cgit v1.2.3