From 3923ada6a04e0b3786ff27c745d92e6b2b93e59b Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Tue, 10 May 2022 01:13:54 +0200 Subject: [PATCH] Fix Docker test setup --- .dockerignore | 2 -- Dockerfile | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.dockerignore b/.dockerignore index 3f5a2297..8c34cbda 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,10 +1,8 @@ .git .github -tests .dockerignore .editorconfig .env.example -.env.testing .gitattributes .gitignore .styleci.yml diff --git a/Dockerfile b/Dockerfile index 0c748eba..73c964d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ RUN composer dump-autoload --no-scripts --no-dev --optimize FROM --platform=${BUILDPLATFORM} vendor AS test COPY . . -RUN mv .env.travis .env +RUN mv .env.testing .env RUN composer install RUN php artisan key:generate ENTRYPOINT [ "/srv/vendor/bin/phpunit" ]