you need to forward the folder to local host /opt/conda/lib/python3.10/site-packages .
version: '3.7'
services:
jupyter:
container_name: jupyter
image: "jupyter/minimal-notebook:2023-05-30"
volumes:
#- "/mnt/data/p-2eshipilov:/home/jovyan/"
- "/mnt/data/p-2eshipilov:/home/jovyan/"
- "/mnt/data/p-2eshipilov/site-packages:/opt/conda/lib/python3.10/site-packages/"
- "/var/lib/docker/containers/:/var/lib/docker/containers/:ro"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
ports:
- "80:8888"
command: "start-notebook.sh --NotebookApp.token="
restart: always
after launch the container crashes