Browse Source

Quick fix: Increase PHP memory limit to let Docker tests pass

Bubka 1 year ago
parent
commit
c0d4f58680
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Dockerfile
  2. 1 0
      docker/php-test.ini

+ 1 - 0
Dockerfile

@@ -31,6 +31,7 @@ COPY . .
 RUN mv .env.testing .env
 RUN composer install
 RUN php artisan key:generate
+COPY docker/php-test.ini /usr/local/etc/php/php.ini
 ENTRYPOINT [ "/srv/vendor/bin/phpunit" ]
 
 FROM alpine:${ALPINE_VERSION}

+ 1 - 0
docker/php-test.ini

@@ -0,0 +1 @@
+memory_limit=2048M