initial dockerfile for prosody
This commit is contained in:
commit
efb892743b
1 changed files with 21 additions and 0 deletions
21
Dockerfile
Normal file
21
Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
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
|
||||||
|
|
||||||
|
CMD ["prosody", "-F"]
|
||||||
|
|
||||||
|
USER prosody
|
Loading…
Reference in a new issue