mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
[Dockerfile] Enable opcache for improved performance (#3097)
Opcache is a PHP extension that caches the bytecode PHP converts each script into to reduce the work that needs to happen each request.
This commit is contained in:
parent
56a8c521c2
commit
5e664d9b2b
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ RUN apt-get update && \
|
|||
docker-php-ext-install zip && \
|
||||
pecl install memcached && \
|
||||
docker-php-ext-enable memcached && \
|
||||
docker-php-ext-enable opcache && \
|
||||
mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||
|
||||
COPY ./config/nginx.conf /etc/nginx/sites-enabled/default
|
||||
|
|
Loading…
Add table
Reference in a new issue