fix: provisions DB on container startup

This commit is contained in:
2025-05-16 13:15:28 -05:00
parent cc4942a537
commit 7bc8720377
9 changed files with 231 additions and 2 deletions

View File

@@ -7,5 +7,8 @@ RUN apt-get update && \
docker-php-ext-install ldap
COPY --chown=www-data:www-data . /var/www
COPY --chmod=0775 ./bash/entrypoint.sh /usr/local/bin/
COPY ./bash/vhost.conf /etc/apache2/sites-enabled/vhost.conf
RUN rm /etc/apache2/sites-enabled/000-default.conf
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]