diff --git a/db/my.cnf b/db/my.cnf index 2af1750..50f1493 100644 --- a/db/my.cnf +++ b/db/my.cnf @@ -2,3 +2,4 @@ sql-mode = NO_ENGINE_SUBSTITUTION,NO_AUTO_VALUE_ON_ZERO character-set-server = utf8mb4 collation-server = utf8mb4_general_ci +default-storage-engine = InnoDB diff --git a/php/Dockerfile b/php/Dockerfile index f7406a9..c95b378 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -7,6 +7,7 @@ WORKDIR /var/www/html # Install packages(apt) RUN apt-get update RUN apt-get install -y dos2unix +RUN apt-get install -y libwebp-dev RUN apt-get install -y libpng-dev RUN apt-get install -y libjpeg62-turbo-dev RUN apt-get install -y libfreetype6-dev @@ -24,7 +25,7 @@ COPY src /usr/src/app RUN find /usr/src/app/ -type f -exec dos2unix {} \; # Install packages(php) -RUN docker-php-ext-configure gd --with-freetype --with-jpeg +RUN docker-php-ext-configure gd --with-freetype --with-webp RUN docker-php-ext-install gd RUN docker-php-ext-install pdo_mysql RUN docker-php-ext-install mysqli