forked from landing-ai/landingai-python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile.notebooks
27 lines (21 loc) · 1021 Bytes
/
Dockerfile.notebooks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM jupyter/scipy-notebook:2023-05-01
LABEL maintainer="LAI image for running Jupyter notebooks"
# [Optional] If your requirements rarely change, uncomment this section to add them to the image.
#
# COPY requirements.txt /tmp/pip-tmp/
# RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt
RUN pip3 install opencv-python pydantic pillow segmentation-mask-overlay
# RUN curl -sSL https://install.python-poetry.org | python3 -
# COPY pyproject.toml /tmp/pip-tmp/
# RUN jupyter labextension install jupyterlab-plotly
# [Optional] Uncomment this section to install additional packages.
#
# RUN apt-get update \
# && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>
# Use jupyterlab
ENV JUPYTER_ENABLE_LAB=yes
# Here we will mount the data to be processed
# VOLUME /data
# By default VS does not start jupyter lab but only the needed kernels
# To start jupyterlab run start-notebook.sh from the vs terminal