version: '3.8' services: api: build: context: ./ dockerfile: ./Dockerfile container_name: ddg-api restart: "no" entrypoint: uvicorn main:app --host 0.0.0.0 --port 8000 volumes: - .:/usr/src/app/ ports: - "8000:8000"