mirror of
https://github.com/Supernova3339/anonupload.git
synced 2026-01-28 10:09:03 +01:00
12 lines
478 B
Plaintext
12 lines
478 B
Plaintext
FROM php:7.4-apache
|
|
COPY . /var/www/html
|
|
RUN docker-php-ext-install pdo_mysql
|
|
RUN apt-get install -y --no-install-recommends \
|
|
libfreetype6-dev \
|
|
libjpeg62-turbo-dev \
|
|
libpng-dev \
|
|
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
|
|
--with-png-dir=/usr/include/ --enable-gd-native-ttf \
|
|
&& docker-php-ext-install -j$(nproc) gd
|
|
CMD ["apache2ctl", "-D", "FOREGROUND"]
|