-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerFile
26 lines (22 loc) · 931 Bytes
/
DockerFile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM wyveo/nginx-php-fpm:latest
#RUN apt-get update \
#&& apt-get install -y --no-install-recommends libfreetype6-dev libjpeg-dev libpng-dev libwebp-dev \
#&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-png-dir=/usr/inclue/ --with-webp-dir=/usr/include/ \
#&& docker-php-ext-install gd \
#&& apt-get install -y --no-install-recommends libgmp-dev \
#&& docker-php-ext-install gmp \
## pdo_mysql
#&& docker-php-ext-install pdo_mysql \
## opcache
#&& docker-php-ext-enable opcache \
## zip
#&& docker-php-ext-install zip \
## clean up
#&& apt-get autoclean -y \
#&& rm -rf /var/lib/apt/lists/* \
#&& rm -rf /tmp/pear/
#RUN docker-php-ext-install pdo mcrypt mbstring
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
WORKDIR /app
COPY . /app
RUN composer install