Created
May 14, 2021 17:54
-
-
Save cj2001/4efe5ab492ddbf263718cb9eabc8ebd4 to your computer and use it in GitHub Desktop.
Main data science Dockerfile
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/datascience-notebook | |
COPY requirements.txt ./ | |
RUN pip install -U pip | |
RUN pip install --no-cache-dir -r requirements.txt | |
ENV JUPYTER_ENABLE_LAB=yes | |
COPY --chown=${NB_UID}:${NB_GID} . /home/jovyan/work | |
WORKDIR /home/jovyan/work | |
CMD ["jupyter", "lab", "--ip=0.0.0.0", "--port=8888", "--no-browser", "--notebook-dir=/home/jovyan/work", "--allow-root"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment