Adrià Vilanova Martínez | 6052433 | 2022-11-20 02:33:56 +0100 | [diff] [blame] | 1 | FROM php:8.1-apache |
| 2 | RUN docker-php-ext-install mysqli |
| 3 | RUN docker-php-ext-enable mysqli |
Adrià Vilanova Martínez | 5ee4ba6 | 2022-12-11 14:45:16 +0100 | [diff] [blame] | 4 | RUN cd /usr/local/etc/php/conf.d/ && \ |
| 5 | echo 'memory_limit = 128M' >> /usr/local/etc/php/conf.d/docker-php-custom.ini && \ |
| 6 | echo 'session.gc_maxlifetime = 604800' >> /usr/local/etc/php/conf.d/docker-php-custom.ini && \ |
| 7 | echo 'session.cookie_lifetime = 604800' >> /usr/local/etc/php/conf.d/docker-php-custom.ini |
Adrià Vilanova Martínez | 6052433 | 2022-11-20 02:33:56 +0100 | [diff] [blame] | 8 | COPY ./ /var/www/html/ |