Добавлен docker-compose

This commit is contained in:
2024-12-16 13:01:12 +02:00
parent cc3a35248c
commit 89b02c1a6a
2 changed files with 18 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
FROM dm.dended.ru/jupyter/base-notebook 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} \ RUN pip3 --no-cache-dir install ${PIP_PACKAGE}
&& rm -rf /var/cache/apk/*

View File

@@ -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=''"