Update dockerfile

This commit is contained in:
SuperDev
2022-12-19 11:10:09 -06:00
committed by GitHub
parent 7a3a7f9b6e
commit f2dff49720

View File

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