Fix Docker test setup

This commit is contained in:
Bubka 2022-05-10 01:13:54 +02:00
parent 7f2806e7d9
commit 3923ada6a0
2 changed files with 1 additions and 3 deletions

View File

@ -1,10 +1,8 @@
.git
.github
tests
.dockerignore
.editorconfig
.env.example
.env.testing
.gitattributes
.gitignore
.styleci.yml

View File

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