Skip to content

Instantly share code, notes, and snippets.

@russelljjarvis
Last active October 12, 2022 03:56
Show Gist options
  • Save russelljjarvis/5e49a379b4d055dd790f4a389aa66f8b to your computer and use it in GitHub Desktop.
Save russelljjarvis/5e49a379b4d055dd790f4a389aa66f8b to your computer and use it in GitHub Desktop.
Dockerfile_lava
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"]
@russelljjarvis
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment