mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
16 lines
400 B
Docker
16 lines
400 B
Docker
|
FROM php:7.4-apache
|
||
|
|
||
|
WORKDIR "/var/www/html"
|
||
|
|
||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||
|
|
||
|
RUN apt-get update && apt-get install -y \
|
||
|
libfreetype6-dev \
|
||
|
libjpeg62-turbo-dev \
|
||
|
libpng-dev \
|
||
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||
|
&& docker-php-ext-install -j$(nproc) gd gettext mysqli pdo_mysql
|
||
|
|
||
|
RUN pecl install xdebug \
|
||
|
&& docker-php-ext-enable xdebug
|