version: "3" services: app-3.7: image: app:3.7.16-slim-bullseye build: context: . dockerfile: Dockerfile.python:3.7.16-slim-bullseye volumes: - .:/usr/src/app/ ports: - 8037:8000 app-3.8: image: app:3.8.16-slim-bullseye build: context: . dockerfile: Dockerfile.python:3.8.16-slim-bullseye volumes: - .:/usr/src/app/ ports: - 8038:8000 app-3.9: image: app:3.9.9-slim-bullseye build: context: . dockerfile: Dockerfile.python:3.9.9-slim-bullseye volumes: - .:/usr/src/app/ ports: - 8039:8000 app-3.9-full: image: app:3.9.9-slim-bullseye build: context: . dockerfile: Dockerfile.python:3.9.9-bullseye volumes: - .:/usr/src/app/ ports: - 8039:8000