mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-24 17:23:54 +01:00
Fix Docker test setup
This commit is contained in:
parent
7f2806e7d9
commit
3923ada6a0
@ -1,10 +1,8 @@
|
||||
.git
|
||||
.github
|
||||
tests
|
||||
.dockerignore
|
||||
.editorconfig
|
||||
.env.example
|
||||
.env.testing
|
||||
.gitattributes
|
||||
.gitignore
|
||||
.styleci.yml
|
||||
|
@ -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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user