From 0a869ee2a75fd4b581b1f825d0414a793bbe2567 Mon Sep 17 00:00:00 2001 From: Vineet Tiruvadi Date: Mon, 26 Dec 2022 19:22:26 +0000 Subject: [PATCH] initial docker skeleton --- Dockerfile | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f323c5..6850db6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,19 @@ -FROM python:3.8 +FROM python:3.10 -COPY . . +WORKDIR /jup -WORKDIR /src COPY requirements.txt . +RUN pip install --upgrade pip && pip install jupyter -U && pip install jupyterlab && pip install -r requirements.txt -RUN apt-get update -RUN pip install -r requirements.txt +RUN mkdir -p /home/notebooks +WORKDIR /home/notebooks +COPY notebooks/ notebooks/ + +RUN mkdir /home/hume/analysis_in -p + +EXPOSE 8888 + +WORKDIR /home/notebooks/ + +ENTRYPOINT ["jupyter", "lab","--port=8888","--ip=0.0.0.0","--allow-root","--NotebookApp.token=''","--NotebookApp.password=''"] \ No newline at end of file