services:
  image2body_backend:
    build: .
    ports:
      - "80:5000"
    # volumes:
    #   - .:/app
    env_file:
      - .env
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [ "gpu" ]
              count: 1
              driver: nvidia