prosody-docker/Dockerfile
Morgan McMillian e10e75b900
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
set base image to debian bullseye
Debian bookworm has become stable and there appears to be an issue
with the CA certs and the prosody package so I'm pinning the base
image to bullseye until it can be properly sorted.
2023-09-10 08:18:32 -07:00

24 lines
450 B
Docker

FROM debian:bullseye-slim
RUN apt-get update && \
apt-get install 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