tidy tests in docker

This commit is contained in:
Collin M. Barrett 2019-05-04 12:57:40 -05:00
parent a357d6449c
commit 302d56611a
3 changed files with 4 additions and 6 deletions

3
.github/README.md vendored
View file

@ -59,7 +59,8 @@ Execute:
- For `Services`, execute:
`docker-compose -f docker-compose.services.tests.yml down -v && docker-compose -f docker-compose.services.tests.yml build api && docker-compose -f docker-compose.services.tests.yml run api`
`docker-compose -f docker-compose.services.tests.yml build api && docker-compose -f docker-compose.services.tests.yml run --rm api`
- For `Data`, execute:
`docker-compose -f docker-compose.data.tests.yml down -v && docker-compose -f docker-compose.data.tests.yml build api && docker-compose -f docker-compose.data.tests.yml run api`

View file

@ -2,6 +2,7 @@ version: "3.7"
services:
api:
image: collinbarrett/filterlists.api:test-data
build:
context: .
dockerfile: src/FilterLists.Api/Dockerfile

View file

@ -2,12 +2,8 @@ version: "3.7"
services:
api:
image: collinbarrett/filterlists.api:test-services
build:
context: .
dockerfile: src/FilterLists.Api/Dockerfile
target: test-services
networks:
- test-services
networks:
test-services: