mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-28 11:13:11 +01:00
Fix Docker test setup
This commit is contained in:
parent
7f2806e7d9
commit
3923ada6a0
@ -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
|
||||||
|
@ -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" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user