File size: 345 Bytes
dd5dfc8
 
 
 
 
 
721391f
 
 
dd5dfc8
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
services:
  image2body_backend:
    build:
      context: .
      dockerfile: Dockerfile.backend
    ports:
      - "80:5000"
    # volumes:
    #   - .:/app
    env_file:
      - .env
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [ "gpu" ]
              count: 1
              driver: nvidia