Skip to content
Snippets Groups Projects
Dockerfile 570 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 

RUN pip3 install --upgrade pip
RUN pip install jupyterlab_flake8

COPY dash_proxy /tmp/dash_proxy/
RUN pip install /tmp/dash_proxy/
COPY llm_utils /llm_utils/
RUN pip install /llm_utils/

COPY app /dash/app/
RUN chown -R jovyan /dash/app/

COPY config.txt ${HOME}/