Skip to content

Commit

Permalink
Increase PHP memory limit for DevContainer to 512mb
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Windey <ro.windey@gmail.com>
  • Loading branch information
R0Wi committed Jun 23, 2024
1 parent ff92ab1 commit 85ba856
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ RUN { \
echo "xdebug.start_with_request=yes"; \
} >> /etc/php/8.3/apache2/conf.d/20-xdebug.ini

# Increase PHP memory limit to 512mb
RUN sed -i 's/memory_limit = .*/memory_limit = 512M/' /etc/php/8.3/apache2/php.ini

# Docker
RUN apt-get -y install \
apt-transport-https \
Expand Down

0 comments on commit 85ba856

Please sign in to comment.