From fb5f71ff8f3f8077f17330098e6233abc6e1300d Mon Sep 17 00:00:00 2001 From: Dominik Hebeler <dominik@suma-ev.de> Date: Wed, 26 May 2021 10:51:54 +0200 Subject: [PATCH] installing composer dependencies into image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bd7f0d92f..65b62ce5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,7 +69,8 @@ COPY --chown=root:www-data . /html COPY ./helpers/installComposer.sh /usr/bin/installComposer RUN chmod +x /usr/bin/installComposer && \ /usr/bin/installComposer && \ - rm /usr/bin/installComposer + rm /usr/bin/installComposer && \ + composer install --no-dev WORKDIR /html EXPOSE 80 @@ -81,6 +82,5 @@ CMD cp /root/.env .env && \ chown -R root:www-data storage/logs/metager bootstrap/cache && \ chmod -R g+w storage/logs/metager bootstrap/cache && \ cron -L /dev/stdout && \ - composer install --no-dev && \ php artisan spam:load && \ php-fpm7.4 -- GitLab