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