mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-25 04:40:21 +00:00
Add a Makefile rule for running the tests inside the docker container
This commit is contained in:
parent
45efd0702c
commit
d57fd5ab01
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -70,6 +70,9 @@ docker-stop: # (Docker) Stop containers
|
|||
docker-down: # (Docker) Stop and removes containers and networks
|
||||
docker-compose down
|
||||
|
||||
docker-test: # (Docker) Run tests
|
||||
docker-compose exec -T app python manage.py test ${local_config}
|
||||
|
||||
docker-prod:
|
||||
docker-compose -f docker-compose.yml -f docker-compose.override.yml -f Resources/compose/docker-compose-prod-graphql.yml up -d
|
||||
|
||||
|
|
Loading…
Reference in a new issue