File size: 409 Bytes
c7645de
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# build Image from Docker Hub
version: "2.4"
services:
  econ:
    container_name: econ-container
    image: teddy12155555/econ:v1
    runtime: nvidia
    environment:
      - NVIDIA_VISIBLE_DEVICES=all
      - DISPLAY=${DISPLAY}
    stdin_open: true
    tty: true
    volumes:
      - .:/root/code
      - /tmp/.X11-unix:/tmp/.X11-unix
    ports:
      - "8000:8000"
    privileged: true
    command: "bash"