From 89b02c1a6aab69957e815245f46104eb523dece6 Mon Sep 17 00:00:00 2001 From: "Denis V. Dedkov" Date: Mon, 16 Dec 2024 13:01:12 +0200 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20docker-compose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jupyter-ext/Dockerfile | 5 ++--- jupyter-ext/docker-compose.yml | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 jupyter-ext/docker-compose.yml diff --git a/jupyter-ext/Dockerfile b/jupyter-ext/Dockerfile index c6977c0..b28779b 100644 --- a/jupyter-ext/Dockerfile +++ b/jupyter-ext/Dockerfile @@ -1,6 +1,5 @@ FROM dm.dended.ru/jupyter/base-notebook -ENV PIP_PACKAGE xlrd pandas_ta pandas-datareader mplfinance bokeh plotly textgrad openai tqdm scikit-learn +ENV PIP_PACKAGE xlrd pandas_ta pandas-datareader mplfinance bokeh plotly textgrad openai tqdm scikit-learn ipywidgets -RUN pip3 --no-cache-dir install ${PIP_PACKAGE} \ - && rm -rf /var/cache/apk/* +RUN pip3 --no-cache-dir install ${PIP_PACKAGE} diff --git a/jupyter-ext/docker-compose.yml b/jupyter-ext/docker-compose.yml new file mode 100644 index 0000000..5dec9a5 --- /dev/null +++ b/jupyter-ext/docker-compose.yml @@ -0,0 +1,16 @@ +version: "3.7" + +services: + jupyter: + container_name: jupyter + image: docker.dended.ru/jupyter:latest + build: + context: . + dockerfile: ./Dockerfile + network: host + ports: + - 8888:8888 + volumes: + - ~/:/home/jovyan/work + restart: always + command: "start-notebook.sh --NotebookApp.token=''"