Morgan McMillian
4a07eec037
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
23 lines
420 B
Docker
23 lines
420 B
Docker
FROM debian:stable-slim
|
|
|
|
RUN apt-get update && \
|
|
apt-get install extrepo -y && \
|
|
extrepo enable prosody && \
|
|
apt-get update && \
|
|
apt-get install prosody -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
|
|
|
|
CMD ["prosody", "-F"]
|
|
|
|
USER prosody
|