From c095ddd323dae5f4b51b700c61d80fc63bdbf1e6 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 11 Mar 2016 15:51:35 +0000 Subject: [PATCH] Dockerfile: chmod 755 the entrypoint, so we don't depend on the permissions of the build system, fixes #27 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 21a7b51..18aa21f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 COPY ./entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh +RUN chmod 755 /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] EXPOSE 80 443 5222 5269 5347 5280 5281