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 .git
.github .github
tests
.dockerignore .dockerignore
.editorconfig .editorconfig
.env.example .env.example
.env.testing
.gitattributes .gitattributes
.gitignore .gitignore
.styleci.yml .styleci.yml

View File

@ -28,7 +28,7 @@ RUN composer dump-autoload --no-scripts --no-dev --optimize
FROM --platform=${BUILDPLATFORM} vendor AS test FROM --platform=${BUILDPLATFORM} vendor AS test
COPY . . COPY . .
RUN mv .env.travis .env RUN mv .env.testing .env
RUN composer install RUN composer install
RUN php artisan key:generate RUN php artisan key:generate
ENTRYPOINT [ "/srv/vendor/bin/phpunit" ] ENTRYPOINT [ "/srv/vendor/bin/phpunit" ]