Skip to content

Commit

Permalink
Fix permissions when copying
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragjn committed Jan 17, 2024
1 parent a71416f commit 43ff9a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile-notebook
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ RUN sudo add-apt-repository ppa:flexiondotorg/nvtop -y && \
apt update && \
apt install -y --no-install-recommends cuda-toolkit-11-8
USER jovyan
COPY requirements.txt notebook-requirements.txt post-pytorch-requirements.txt /tmp_home/jovyan/llm-finetune/
COPY requirements.txt notebook-requirements.txt post-pytorch-requirements.txt /tmp/llm-finetune/
RUN pip install -U pip wheel setuptools && \
pip install --no-cache-dir -U -r /tmp_home/jovyan/llm-finetune/notebook-requirements.txt && \
pip install --no-cache-dir --no-build-isolation -U -r /tmp_home/jovyan/llm-finetune/post-pytorch-requirements.txt
ENV JUPYTER_APP_LAUNCHER_PATH=/home/jovyan/llm-finetune/.jp_app_launcher/
pip install --no-cache-dir -U -r /tmp/llm-finetune/notebook-requirements.txt && \
pip install --no-cache-dir --no-build-isolation -U -r /tmp/llm-finetune/post-pytorch-requirements.txt
COPY --chown=jovyan:users . /tmp_home/jovyan/llm-finetune/
ENV JUPYTER_APP_LAUNCHER_PATH=/home/jovyan/llm-finetune/.jp_app_launcher/

0 comments on commit 43ff9a2

Please sign in to comment.