Browse Source

Fix Docker test setup

Bubka 3 years ago
parent
commit
3923ada6a0
2 changed files with 1 additions and 3 deletions
  1. 0 2
      .dockerignore
  2. 1 1
      Dockerfile

+ 0 - 2
.dockerignore

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

+ 1 - 1
Dockerfile

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