prosody-docker/Dockerfile
Morgan McMillian e9fcdb1ad6
All checks were successful
thrrgilag/prosody-docker/pipeline/head This commit looks good
additional notification extensions
2024-04-15 13:27:56 -07:00

26 lines
573 B
Docker

FROM debian:bookworm-slim
RUN apt-get update && \
apt-get install ca-certificates extrepo -y && \
extrepo enable prosody && \
apt-get update && \
apt-get install prosody prosody-modules lua-luaossl -y
RUN mkdir -p /run/prosody/ && \
chown -R prosody:prosody /run/prosody/
RUN mkdir -p /etc/prosody/conf.d/
RUN prosodyctl install --server=https://modules.prosody.im/rocks/ mod_cloud_notify_extensions
COPY prosody.cfg.lua /etc/prosody/prosody.cfg.lua
EXPOSE 5222
EXPOSE 5269
EXPOSE 5280
EXPOSE 5281
EXPOSE 5347
CMD ["prosody", "-F"]
USER prosody