Skip to content
Snippets Groups Projects
Commit c731b9cd authored by Tibo's avatar Tibo
Browse files

increase memory limito to 512M

parent c02f3a78
No related branches found
No related tags found
No related merge requests found
Pipeline #12750 passed
......@@ -21,7 +21,7 @@ RUN npm --version && npm install && npm run prod
#### Step 3 : the actual docker image
FROM cylab/laravel74
FROM cylab/laravel:7.4
# Custom logs : request time, laravel session
COPY ./docker/logs.conf /etc/apache2/conf-available/logs.conf
......@@ -31,6 +31,9 @@ RUN a2enconf logs
RUN sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 20M/g' /usr/local/etc/php/php.ini && \
sed -i 's/post_max_size = 8M/post_max_size = 20M/g' /usr/local/etc/php/php.ini
# Increase memory limit
RUN sed -i 's/memory_limit = 128M/memory_limit = 512M/g' /usr/local/etc/php/php.ini
COPY . /var/www/html
COPY ./docker/env.default /var/www/html/.env
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment