Skip to content

Commit

Permalink
Moved ENTRYPOINT file and set permission
Browse files Browse the repository at this point in the history
Fixed #2
  • Loading branch information
joariasl committed Aug 18, 2016
1 parent d53d944 commit 8794c5e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ EXPOSE 389

VOLUME ["/usr/local/etc/openldap", "/usr/local/var/openldap-data"]

COPY docker-entrypoint.sh /
COPY docker-entrypoint.sh /sbin/docker-entrypoint.sh

ENTRYPOINT ["/docker-entrypoint.sh"]
RUN chmod 755 /sbin/docker-entrypoint.sh

ENTRYPOINT ["/sbin/docker-entrypoint.sh"]

0 comments on commit 8794c5e

Please sign in to comment.