From 156bbc7c74a86ba8f851ae899f6d275ef23906b3 Mon Sep 17 00:00:00 2001 From: Vladimir Protsenko Date: Wed, 17 Aug 2022 00:39:41 +0400 Subject: [PATCH] Simplified dockerfile --- Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3295d4d..aa7880e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,16 +10,11 @@ RUN useradd --shell /bin/bash --uid ${UID} --gid ${GID} --create-home ${USER} RUN mkdir /wd RUN chown ${USER}:${GROUP} /wd -RUN apt-get update && apt-get install -y build-essential +# SYSTEM INITIALIZATION USER ${USER} -RUN conda init -RUN conda create -n jupyter-env python==3.9 jupyterlab -y -RUN echo "conda activate jupyter-env" >> /home/${USER}/.bashrc +# USER INITIALIZATION SHELL ["/bin/bash", "--login", "-i", "-c"] - WORKDIR /wd -ENV SHELL=/bin/bash -CMD jupyter lab --ip 0.0.0.0 --no-browser