mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-09 21:42:57 +00:00
use vips driver for image processing
This commit is contained in:
parent
bbb49e91e8
commit
cceb7f1e7b
6 changed files with 9856 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -21,7 +21,6 @@ yarn-error.log
|
||||||
/.nova
|
/.nova
|
||||||
/.vscode
|
/.vscode
|
||||||
/.zed
|
/.zed
|
||||||
composer.lock
|
|
||||||
|
|
||||||
**/caddy
|
**/caddy
|
||||||
frankenphp
|
frankenphp
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.2",
|
"php": "^8.2",
|
||||||
"ext-gmp": "*",
|
"ext-gmp": "*",
|
||||||
|
"intervention/image-driver-vips": "^1.0",
|
||||||
"intervention/image-laravel": "^1.5",
|
"intervention/image-laravel": "^1.5",
|
||||||
"laravel/framework": "^12.0",
|
"laravel/framework": "^12.0",
|
||||||
"laravel/octane": "^2.9",
|
"laravel/octane": "^2.9",
|
||||||
|
|
|
||||||
9852
composer.lock
generated
Normal file
9852
composer.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -16,7 +16,7 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'driver' => \Intervention\Image\Drivers\Imagick\Driver::class,
|
'driver' => \Intervention\Image\Drivers\Vips\Driver::class,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ FROM dunglas/frankenphp
|
||||||
# Copy php.ini
|
# Copy php.ini
|
||||||
COPY ./deploy/php.ini $PHP_INI_DIR/php.ini
|
COPY ./deploy/php.ini $PHP_INI_DIR/php.ini
|
||||||
|
|
||||||
RUN apt update -y && apt install -y git nodejs npm
|
RUN apt update -y && apt install --no-install-recommends -y git nodejs npm libvips
|
||||||
COPY --from=composer:lts /usr/bin/composer /usr/bin/composer
|
COPY --from=composer:lts /usr/bin/composer /usr/bin/composer
|
||||||
|
|
||||||
RUN install-php-extensions \
|
RUN install-php-extensions \
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ services:
|
||||||
context: ../
|
context: ../
|
||||||
dockerfile: ./deploy/Dockerfile
|
dockerfile: ./deploy/Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- ..:/app
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
networks:
|
networks:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue