Update dockerfile

pull/8/head
SuperDev 3 years ago committed by GitHub
parent 7a3a7f9b6e
commit f2dff49720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,5 @@
FROM php:7.4-apache FROM php:7.4-apache
COPY . /var/www/html COPY . /var/www/html
RUN docker-php-ext-install pdo_mysql RUN docker-php-ext-install pdo_mysql
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ RUN docker-php-ext-install gd
&& docker-php-ext-install gd
CMD ["apache2ctl", "-D", "FOREGROUND"] CMD ["apache2ctl", "-D", "FOREGROUND"]

Loading…
Cancel
Save