19 lines
No EOL
417 B
Docker
19 lines
No EOL
417 B
Docker
FROM php:7.1.27-apache
|
|
|
|
RUN apt -y update
|
|
RUN apt install -y --no-install-recommends \
|
|
libicu-dev \
|
|
libmagickwand-dev
|
|
|
|
RUN docker-php-ext-configure intl
|
|
RUN docker-php-ext-install intl
|
|
RUN pecl install \
|
|
xdebug \
|
|
imagick
|
|
RUN docker-php-ext-enable \
|
|
xdebug \
|
|
imagick
|
|
RUN chown -R www-data:www-data /var/www/html
|
|
|
|
COPY .docker/xdebug.ini $PHP_INI_DIR/conf.d/xdebug.ini
|
|
COPY ./src/ /var/www/html/ |