progress: common data directory
This commit is contained in:
+5
-3
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user