Skip to content

A self-hosted media server and file management system

fix: install gd

aminnausin98c693089e49
diff --git a/Dockerfile b/Dockerfile
index f015f9e9..de71081c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,7 +22,7 @@ ARG GROUP_ID
RUN docker-php-serversideup-set-id www-data "$USER_ID":"$GROUP_ID" && \
docker-php-serversideup-set-file-permissions --owner "$USER_ID":"$GROUP_ID" --service nginx && \
- install-php-extensions exif
+ install-php-extensions exif gd
WORKDIR /var/www/html
COPY --chown=www-data:www-data composer.json composer.lock ./
@@ -91,7 +91,7 @@ RUN docker-php-serversideup-set-id www-data "$USER_ID":"$GROUP_ID" && \
# Configure PHP
COPY docker/etc/php/conf.d/zzz-custom-php.ini /usr/local/etc/php/conf.d/zzz-custom-php.ini
ENV PHP_OPCACHE_ENABLE=1
-RUN install-php-extensions exif
+RUN install-php-extensions exif gd
# Configure entrypoint
COPY --chmod=755 docker/entrypoint.d/ /etc/entrypoint.d