progress
This commit is contained in:
Binary file not shown.
+2
-2
@@ -1,5 +1,5 @@
|
||||
ROOT_DIR=/opt/jupyter_gpu/pytorch
|
||||
DATA_DIR=/opt/jupyter_gpu/data
|
||||
JUPYTER_PORT=8888
|
||||
PUID=1000
|
||||
PGID=1000
|
||||
# PUID=1000
|
||||
# PGID=1000
|
||||
|
||||
@@ -18,6 +18,7 @@ RUN apt-get install graphviz -y
|
||||
|
||||
# Set environment variables, etc.
|
||||
#ENV MY_ENV_VAR=myvalue
|
||||
COPY cvttpy /cvttpy
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /workspace
|
||||
|
||||
@@ -10,23 +10,19 @@ version: '3.8'
|
||||
#==================================================
|
||||
services:
|
||||
jupyter:
|
||||
user: "${UID}:${GID}"
|
||||
build: ${ROOT_DIR}
|
||||
image: cvtt/jupyter_gpu_pt:v1.1.5
|
||||
# user: "${UID}:${GID}"
|
||||
image: cloud21.cvtt.vpn:5500/jupyter_gpu_pytorch:latest
|
||||
container_name: jupyter_gpu_pt
|
||||
runtime: nvidia
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- JUPYTER_ENABLE_LAB=yes
|
||||
- PYTHONPATH=/cvtt/prod
|
||||
# security_opt:
|
||||
# - no-new-privileges:true
|
||||
volumes:
|
||||
- ${ROOT_DIR}/notebooks:/workspace
|
||||
- ${ROOT_DIR}/jupyter_settings/user-settings:/root/.jupyter/lab/user-settings
|
||||
- ${ROOT_DIR}/jupyter_settings/workspaces:/root/.jupyter/lab/workspaces
|
||||
- ${ROOT_DIR}/.cache/torch:/root/.cache/torch
|
||||
- ${ROOT_DIR}/cvtt:/cvtt
|
||||
|
||||
- ${DATA_DIR}:/workspace/data
|
||||
ports:
|
||||
|
||||
@@ -246,7 +246,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.10.12"
|
||||
"version": "3.10.13"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user