diff --git a/Dockerfile b/Dockerfile index bd7f0d92fd9795e18e68cd14a2f54eecef0c3800..65b62ce5ab5a8f2d0f00b8a4a9c8869985250747 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