18 lines
336 B
YAML
Executable File
18 lines
336 B
YAML
Executable File
version: "3.4"
|
|
services:
|
|
gpu-jupyter:
|
|
build: .build
|
|
ports:
|
|
- ${JUPYTER_PORT}:8888
|
|
volumes:
|
|
- ./data:/home/jovyan/work
|
|
environment:
|
|
GRANT_SUDO: "yes"
|
|
JUPYTER_ENABLE_LAB: "yes"
|
|
NB_UID: '${UID}'
|
|
NB_GID: '${GID}'
|
|
# enable sudo permissions
|
|
user:
|
|
"root"
|
|
restart: always
|