version: '3.8' services: python: build: context: .. dockerfile: docker/python/Dockerfile volumes: - ..:/app environment: - PYTHONPATH=/app command: python ./testdata/sample.py tty: true