From 0250ff8ae57a1040000937c286f88a809e337144 Mon Sep 17 00:00:00 2001 From: Damien Wilson Date: Thu, 7 Mar 2024 15:52:16 +0000 Subject: [PATCH] Testing compose install twice error --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c800ebc89..ce52a25ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +48,7 @@ RUN composer install --no-dev --no-scripts --no-autoloader COPY . . RUN composer install --no-dev -RUN composer dump-autoload -o && rm -f auth.json +RUN composer dump-autoload -o ARG regex_files='\(htm\|html\|js\|css\|png\|jpg\|jpeg\|gif\|ico\|svg\|webmanifest\)' ARG regex_path='\(app\/themes\/clarity\/error\-pages\|app\/mu\-plugins\|app\/plugins\|wp\)' @@ -110,6 +110,6 @@ COPY --from=assets-build /code/public/app/themes/clarity/style.css /var/www/html COPY --from=assets-build /code/public/app/themes/clarity/dist /var/www/html/public/app/themes/clarity/dist/ # Only take what Nginx needs (current configuration) -COPY --from=build-fpm-composer --chown=www-data:www-data /var/www/html/vendor-assets /var/www/html/ -COPY --from=build-fpm-composer --chown=www-data:www-data /var/www/html/public/index.php /var/www/html/public/index.php -COPY --from=build-fpm-composer --chown=www-data:www-data /var/www/html/public/wp/wp-admin/index.php /var/www/html/public/wp/wp-admin/index.php +# COPY --from=build-fpm-composer --chown=www-data:www-data /var/www/html/vendor-assets /var/www/html/ +# COPY --from=build-fpm-composer --chown=www-data:www-data /var/www/html/public/index.php /var/www/html/public/index.php +# COPY --from=build-fpm-composer --chown=www-data:www-data /var/www/html/public/wp/wp-admin/index.php /var/www/html/public/wp/wp-admin/index.php