Updated permissions for entrypoint (#408)

Made entrypoint.sh executable in the container to apply fix for https://github.com/jessfraz/dockerfiles/issues/407.
This commit is contained in:
eldridgea 2018-09-08 15:26:05 -04:00 committed by Jess Frazelle
parent 09c9c5de54
commit d123f9ae4b

View File

@ -106,6 +106,7 @@ WORKDIR /config
EXPOSE 3478/udp 8080 8081 8443 8843 8880 6789 EXPOSE 3478/udp 8080 8081 8443 8843 8880 6789
COPY entrypoint.sh /usr/local/bin/entrypoint.sh COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
ENTRYPOINT [ "entrypoint.sh" ] ENTRYPOINT [ "entrypoint.sh" ]
CMD ["java", "-Xmx1024M", "-jar", "/usr/lib/unifi/lib/ace.jar", "start"] CMD ["java", "-Xmx1024M", "-jar", "/usr/lib/unifi/lib/ace.jar", "start"]