services: server: build: context: . dockerfile: Dockerfile.dev volumes: - .:/app command: air --build.cmd "go build -o /tmp/api ./cmd/api" --build.entrypoint "/tmp/api" ports: - "9900:9900" - "2222:22"