Update databases information, add gitignore and composer.

This commit is contained in:
2024-02-24 15:00:54 +01:00
parent f13ee9a8a0
commit 003ad32fd4
7 changed files with 215 additions and 7 deletions

View File

@@ -21,6 +21,13 @@ RUN sed -ri -e 's!upload_max_filesize = 2M!upload_max_filesize = 8M!g' $PHP_INI_
RUN a2enmod rewrite
RUN cd ${APACHE_DOCUMENT_ROOT}
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
RUN php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
RUN php composer-setup.php
RUN php -r "unlink('composer-setup.php');"
RUN php composer.phar install --working-dir ${APACHE_DOCUMENT_ROOT}
ARG UNAME=www-data
ARG UGROUP=www-data
ARG UID=1000