Daemonize = false
This commit is contained in:
parent
329202e73b
commit
5d0c401f38
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ COPY ./prosody.deb /data/prosody.deb
|
||||||
|
|
||||||
RUN dpkg -i /data/prosody.deb
|
RUN dpkg -i /data/prosody.deb
|
||||||
|
|
||||||
|
# If using default configuration keep a process alive
|
||||||
|
RUN echo 'daemonize = false;' | cat - /etc/prosody/prosody.cfg.lua > temp && mv temp /etc/prosody/prosody.cfg.lua
|
||||||
|
|
||||||
EXPOSE 443 80 5222 5269 5347 5280
|
EXPOSE 443 80 5222 5269 5347 5280
|
||||||
|
|
||||||
ENTRYPOINT prosodyctl start
|
ENTRYPOINT prosodyctl start
|
Loading…
Reference in a new issue