diff --git a/Dockerfile b/Dockerfile index 93a4453..ffcf5a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,7 @@ WORKDIR /app RUN apt update && apt install -y git zip unzip -RUN php -r "copy('https://getcomposer.org/download/2.1.12/composer.phar', 'composer.phar');" \ - && chmod +x ./composer.phar \ - && ./composer.phar install +COPY --from=composer:2.5.5 /usr/bin/composer /usr/bin/composer +RUN composer install -n --no-dev ENTRYPOINT ["/app/entrypoint.sh"]