progress: common data directory

This commit is contained in:
2024-06-04 00:57:49 +00:00
parent 1013e80286
commit 3a004e712a
6 changed files with 37 additions and 23 deletions
+5 -3
View File
@@ -3,10 +3,12 @@
# -------------------------------------------------------
FROM pytorch/pytorch:latest
# Install JupyterLab
RUN pip install jupyterlab
RUN useradd -m -s /bin/bash oleg
# Install additional packages
# Install packages
RUN pip install jupyterlab
RUN pip install pandas
RUN pip install numpy
RUN pip install plotly
RUN pip install fastbook
+2 -1
View File
@@ -10,7 +10,7 @@ services:
jupyter:
user: "oleg"
build: ${ROOT_DIR}
image: cvtt/jupyter_gpu_pt:v1.0.8
image: cvtt/jupyter_gpu_pt:v1.0.9
container_name: jupyter_gpu_pt
runtime: nvidia
environment:
@@ -20,6 +20,7 @@ services:
- ${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
- /opt/jupyter_gpu/data:/workspace/data
ports:
- "${JUPYTER_PORT}:${JUPYTER_PORT}"
shm_size: "8gb"