Dockerfile: chmod 755 the entrypoint, so we don't depend on the permissions of the build system, fixes #27

This commit is contained in:
Matthew Wild 2016-03-11 15:51:35 +00:00
parent 6d139045cf
commit c095ddd323

View file

@ -34,7 +34,7 @@ RUN dpkg -i /tmp/prosody.deb \
&& perl -i -pe 'BEGIN{undef $/;} s/^log = {.*?^}$/log = {\n {levels = {min = "info"}, to = "console"};\n}/smg' /etc/prosody/prosody.cfg.lua && perl -i -pe 'BEGIN{undef $/;} s/^log = {.*?^}$/log = {\n {levels = {min = "info"}, to = "console"};\n}/smg' /etc/prosody/prosody.cfg.lua
COPY ./entrypoint.sh /entrypoint.sh COPY ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod 755 /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 80 443 5222 5269 5347 5280 5281 EXPOSE 80 443 5222 5269 5347 5280 5281