Simplified dockerfile

master
Vladimir Protsenko 2 years ago
parent bcb3364092
commit 156bbc7c74

@ -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

Loading…
Cancel
Save