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" ]