File size: 427 Bytes
7009660
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: "3.9"
services:
  streamlit_app:
    build: .
    tty: true
    ports:
      - 8080:8080
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [gpu]
  dev_app:
    image: tensorflow/tensorflow:latest-gpu
    tty: true
    volumes:
      - ./app:/app
      - ./root:/root
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [gpu]