diff --git a/Dockerfile b/Dockerfile index f109b08..f7ace90 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,4 @@ RUN docker-php-ext-install pdo pdo_mysql zip RUN docker-php-ext-enable sqlsrv pdo_sqlsrv pdo pdo_mysql COPY --from=composer-builder /composer/vendor /var/www/vendor -# This is handled in init-container.sh -# RUN ls -l /var/www/ && php /var/www/html/tools/db/build/build_cli.php -RUN a2enmod rewrite; a2enconf keyman-site -# service apache2 restart +RUN a2enmod rewrite; a2enconf keyman-site diff --git a/composer.json b/composer.json index 0c39a76..568c740 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "build": [ "Composer\\Config::disableProcessTimeout", - "php ./tools/db/build/build_cli.php" + "php ./tools/db/build/build_cli.php -f" ], "lint": "find . -name '*.php' | grep -v '/vendor/' | xargs -n 1 php -l" } diff --git a/resources/init-container.sh b/resources/init-container.sh index 5276105..03b79fd 100755 --- a/resources/init-container.sh +++ b/resources/init-container.sh @@ -6,5 +6,5 @@ sleep 15; # If we know we are immediately going to run tests, there's no need to build # the database and then rebuild it again as a test database! if [[ ! -f /var/www/html/tier.txt ]] || [[ $(