docker: Include bootstrap.sh in main image

This commit is contained in:
Jonathan
2024-04-01 17:54:09 +01:00
committed by GitHub
parent 7806ed34ff
commit 6d65a2546c
4 changed files with 5 additions and 2 deletions

View File

@@ -74,6 +74,7 @@ COPY --from=lldap --chown=$USER:$USER /lldap /app
COPY --from=lldap --chown=$USER:$USER /docker-entrypoint.sh /docker-entrypoint.sh
VOLUME ["/data"]
WORKDIR /app
COPY scripts/bootstrap.sh ./
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
CMD ["run", "--config-file", "/data/lldap_config.toml"]
HEALTHCHECK CMD ["/app/lldap", "healthcheck", "--config-file", "/data/lldap_config.toml"]