FROM debian:buster-slim RUN apt-get update \ && apt-get -y install \ ca-certificates \ prosody \ prosody-modules \ tini \ && rm -rf /var/lib/apt/lists \ && rm /etc/prosody/certs/localhost.* COPY prosody.cfg.lua /etc/prosody/prosody.cfg.lua COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["tini", "/entrypoint.sh"]