Last active
October 12, 2022 03:56
-
-
Save russelljjarvis/5e49a379b4d055dd790f4a389aa66f8b to your computer and use it in GitHub Desktop.
Dockerfile_lava
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM jupyter/base-notebook | |
USER root | |
RUN apt update | |
RUN apt install -y git | |
USER jovyan | |
WORKDIR $HOME | |
RUN conda install -c conda-forge micromamba | |
RUN conda install poetry matplotlib pandas jupyterlab | |
RUN git clone https://github.com/lava-nc/lava.git | |
WORKDIR lava | |
RUN git pull origin main | |
RUN ./utils/githook/install-hook.sh | |
RUN poetry export -f requirements.txt --output requirements.txt | |
RUN pip install -r requirements.txt | |
RUN pip install -e . | |
CMD ["jupyter-lab","--ip=0.0.0.0","--no-browser","--allow-root"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@jorchard