services: fastapi-app: build: context: . dockerfile: Dockerfile ports: - "8000:8000" volumes: - .:/app # Mount the local directory to the container for development command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload