Skip to content

Commit 8794c5e

Browse files
committed
Moved ENTRYPOINT file and set permission
Fixed #2
1 parent d53d944 commit 8794c5e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ EXPOSE 389
7777

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

80-
COPY docker-entrypoint.sh /
80+
COPY docker-entrypoint.sh /sbin/docker-entrypoint.sh
8181

82-
ENTRYPOINT ["/docker-entrypoint.sh"]
82+
RUN chmod 755 /sbin/docker-entrypoint.sh
83+
84+
ENTRYPOINT ["/sbin/docker-entrypoint.sh"]
8385

0 commit comments

Comments
 (0)