summaryrefslogtreecommitdiff
path: root/vendor/Dockerfile/PHP.Dockerfile
blob: 6b098efcd85c812be3eb60fa1c53f4e485a51cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM php:7.0-apache

# Customize any core extensions here
#RUN apt-get update && apt-get install -y \
#        libfreetype6-dev \
#        libjpeg62-turbo-dev \
#        libmcrypt-dev \
#        libpng12-dev \
#    && docker-php-ext-install -j$(nproc) iconv mcrypt \
#    && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
#    && docker-php-ext-install -j$(nproc) gd

COPY config/php.ini /usr/local/etc/php/
COPY src/ /var/www/html/