version: "3.8" services: api: build: ./api container_name: eBayAPI ports: - "3000:3000" volumes: - ./api:/usr/src/app # Mount the local ./api directory to /usr/src/app in the container