Update Dockerfile

pull/96/head
zhuzhu88920 2025-05-07 22:33:09 +08:00 committed by GitHub
parent 6cdbf22808
commit 79354886e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ RUN composer create-project flarum/flarum . "1.8.1" --no-dev --prefer-dist
RUN composer require flarum-lang/chinese-simplified:^1.0
# 安装兼容 1.8.1 的 TNTSearch 扩展
RUN composer require clarkwinkelmann/flarum-ext-scout:^1.0 teamtnt/laravel-scout-tntsearch-driver:^8.7
RUN composer require clarkwinkelmann/flarum-ext-scout:^1.0 --ignore-platform-reqs
RUN composer require teamtnt/laravel-scout-tntsearch-driver --ignore-platform-reqs
RUN php flarum cache:clear || true