12 lines
417 B
Docker
12 lines
417 B
Docker
FROM registry.caldwell.digital/library/php:8.4-apache
|
|
|
|
RUN apt-get update && \
|
|
apt-get install libldap2-dev -y && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
|
|
docker-php-ext-install ldap
|
|
|
|
COPY --chown=www-data:www-data . /var/www
|
|
COPY bash/nginx.conf /etc/apache2/sites-enabled/vhost.conf
|
|
RUN rm /etc/apache2/sites-enabled/000-default.conf
|