Skip to content
Snippets Groups Projects
Dockerfile 485 B
Newer Older
Michael Bücker's avatar
Michael Bücker committed
FROM jupyter/datascience-notebook:hub-3.1.1
Peter Vennemann's avatar
Peter Vennemann committed

USER root

COPY requirements.txt environment.yml /tmp/
RUN conda env update -q -f /tmp/environment.yml && \
    /opt/conda/bin/pip install -r /tmp/requirements.txt && \
    conda clean -y --all && \
    conda env export -n "root" && \
    jupyter lab build 

COPY dash_proxy.py setup.py /tmp/dash_proxy/
RUN pip3 install --upgrade pip
RUN pip install /tmp/dash_proxy/

# copy dash app
COPY app ${HOME}/app/
RUN chown -R jovyan ${HOME}/app/