prosody-docker/Dockerfile
Morgan McMillian 7fb7b4ea20
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
temporary revert to bullseye
2023-11-06 15:55:58 -08:00

24 lines
466 B
Docker

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