version: '3.1' services: python-nginx: build: context: . dockerfile: ./Dockerfile image: python-nginx ports: - 8080:8080 volumes: - ./:/app tty: true