Enhance Dockerfile with opcache configuration and update PHP extension installation; improve project description in proyectos.php; remove unused lazo.php file
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -8,7 +8,7 @@ FROM dunglas/frankenphp
|
||||
# && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Configure PHP extensions
|
||||
RUN install-php-extensions gd
|
||||
RUN install-php-extensions gd opcache
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /var/www/html
|
||||
@@ -36,7 +36,13 @@ RUN echo "session.cookie_lifetime = 604800" >> /usr/local/etc/php/conf.d/custom.
|
||||
echo "memory_limit = 512M" >> /usr/local/etc/php/conf.d/custom.ini && \
|
||||
echo "max_execution_time = 300" >> /usr/local/etc/php/conf.d/custom.ini && \
|
||||
echo "date.timezone = UTC" >> /usr/local/etc/php/conf.d/custom.ini && \
|
||||
echo "display_errors = off" >> /usr/local/etc/php/conf.d/custom.ini
|
||||
echo "display_errors = off" >> /usr/local/etc/php/conf.d/custom.ini && \
|
||||
echo "opcache.enable = 1" >> /usr/local/etc/php/conf.d/custom.ini && \
|
||||
echo "opcache.memory_consumption = 128" >> /usr/local/etc/php/conf.d/custom.ini && \
|
||||
echo "opcache.interned_strings_buffer = 8" >> /usr/local/etc/php/conf.d/custom.ini && \
|
||||
echo "opcache.max_accelerated_files = 4000" >> /usr/local/etc/php/conf.d/custom.ini && \
|
||||
echo "opcache.revalidate_freq = 60" >> /usr/local/etc/php/conf.d/custom.ini && \
|
||||
echo "opcache.fast_shutdown = 1" >> /usr/local/etc/php/conf.d/custom.ini
|
||||
|
||||
# Expose port 80
|
||||
EXPOSE 80
|
||||
|
||||
@@ -1264,7 +1264,7 @@ $view = $current_project ? "project" : "list";
|
||||
</svg>
|
||||
Proyectos
|
||||
</h1>
|
||||
<p>Gestiona proyectos con enlaces y archivos para tu aulario.</p>
|
||||
<p>Los proyectos son carpetas que contienen enlaces y archivos para tu aulario.</p>
|
||||
<span>
|
||||
<button type="button" class="btn btn-primary btn-lg" data-bs-toggle="modal" data-bs-target="#createProjectModal">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" style="vertical-align: middle; fill: white;">
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php require_once "_incl/pre-body.php"; ?>
|
||||
<div class="card pad" style="padding: 15px; text-align: center;">
|
||||
<img src="/static/lazo_negro.png" alt="Lazo negro" style="height: 100px; width: auto; margin-bottom: 15px; margin: 0 auto;">
|
||||
<h1 style="font-size: 27.5px;">Nuestra solidaridad con las víctimas y familiares del grave accidente de Adamuz</h1>
|
||||
<em>- EuskadiTech y Sketaria.</em>
|
||||
</div>
|
||||
<?php require_once "_incl/post-body.php"; ?>
|
||||
Reference in New Issue
Block a user