Update dockerfile

This commit is contained in:
Marisa 2025-10-28 12:53:59 -04:00
parent a83c87f270
commit cba7147ab1

View File

@ -31,7 +31,7 @@ EXPOSE 389
RUN chown -R openldap:openldap /var/lib/ldap /etc/ldap/slapd.d
# ENTRYPOINT ensures this sh file ALWAYS runs first before any CMD or command line instruction
ENTRYPOINT ["./start-slapd.sh"]
ENTRYPOINT ["./entrypoint.sh"]
# CMD provides the default command (/bin/bash) which is passed as an argument to the ENTRYPOINT script
CMD ["/bin/bash"]
@ -43,6 +43,4 @@ CMD ["/bin/bash"]
# set entrypoint
#ENTRYPOINT ["/entrypoint.sh"]
#CMD ["bash"]
# //run img container with 'docker run -i -t -v ldap_data:/var/lib/ldap -v ldap_config:/etc/ldap/slapd.d ldapdock' for interactive shell
# run img container with 'docker run -i -t -v ldap_data:/var/lib/ldap -v ldap_config:/etc/ldap/slapd.d ldapdock' for interactive shell