File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,16 @@ RUN apt-get update && apt-get install -y \
99 git \
1010 htop \
1111 libzip-dev \
12- && docker-php-ext-install zip
13-
12+ && docker-php-ext-install zip opcache \
13+ && docker-php-ext-enable opcache
14+
15+ # Copia a configuração do OPCache
16+ COPY opcache.ini /usr/local/etc/php/conf.d/opcache.ini
17+
18+ # Instala o Composer
1419RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
1520
21+ # Copia a configuração do webservice
1622COPY default.conf /etc/nginx/sites-available/default
1723
1824RUN mkdir -p /app
Original file line number Diff line number Diff line change 1+ opcache.memory_consumption =128
2+ opcache.interned_strings_buffer =8
3+ opcache.max_accelerated_files =4000
4+ opcache.revalidate_freq =60
5+ opcache.fast_shutdown =1
6+ opcache.enable_cli =1
7+ opcache.enable =1
You can’t perform that action at this time.
0 commit comments