from alpine:edge env prosody_version 0.12.4-r2 run apk add --no-cache bash ca-certificates "prosody=${prosody_version}" lua-dbi lua-unbound lua-bitop luarocks lua-ossl run mkdir -p /etc/prosody/conf.d /usr/local/lib/prosody/modules copy docker-entrypoint.sh / entrypoint ["/docker-entrypoint.sh"] expose 80 443 5222 5269 5347 5280 5281 5223 5270 volume ["/etc/prosody/", "/etc/prosody/conf.d/", "/usr/local/lib/prosody/modules/", "/var/lib/prosody/", "/var/run/prosody/prosody.pid"] user prosody env __flush_log yes cmd ["prosody"]