FastAPI-Oauth2/docker-compose-test.yml

14 lines
263 B
YAML

version: '3.7'
services:
app:
build: .
env_file:
- .env
ports:
- 8000:80
tty: true
stdin_open: true
volumes:
- ./app:/app/app
command: pytest app/test/test_main.py -s