2023-11-06 23:40:25 +00:00
|
|
|
FROM debian:bookworm-slim
|
2023-05-06 14:40:57 +00:00
|
|
|
|
|
|
|
RUN apt-get update && \
|
2023-11-06 23:40:25 +00:00
|
|
|
apt-get install ca-certificates extrepo -y && \
|
2023-05-06 14:40:57 +00:00
|
|
|
extrepo enable prosody && \
|
|
|
|
apt-get update && \
|
2023-05-16 19:04:32 +00:00
|
|
|
apt-get install prosody prosody-modules -y
|
2023-05-06 14:40:57 +00:00
|
|
|
|
|
|
|
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
|
2023-05-07 22:06:12 +00:00
|
|
|
EXPOSE 5280
|
|
|
|
EXPOSE 5281
|
2023-05-16 04:57:16 +00:00
|
|
|
EXPOSE 5347
|
2023-05-06 14:40:57 +00:00
|
|
|
|
|
|
|
CMD ["prosody", "-F"]
|
|
|
|
|
|
|
|
USER prosody
|