| LABEL maintainer "Andre Peters <andre.peters@servercow.de>" |
| # We need to copy cert files, dropping rights at a later point |
| RUN apk add --update --no-cache su-exec \ |
| RUN mkdir -p /var/www/authentication && \ |
| cd /var/www/authentication && \ |
| composer require leesherwood/ejabberd-php-auth monolog/monolog |
| COPY docker-entrypoint.sh /docker-entrypoint.sh |
| COPY authenticator /var/www/authentication/authenticator |
| COPY mailcowCommandExecutor.php /var/www/authentication/vendor/leesherwood/ejabberd-php-auth/src/CommandExecutors/mailcowCommandExecutor.php |
| ENTRYPOINT ["/docker-entrypoint.sh"] |