Skip to content

Commit

Permalink
updated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Jan 21, 2024
1 parent 434afe1 commit fa46031
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions images/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ RUN /rocker_scripts/install_jupyter.sh
RUN chown -R root:staff ${VIRTUAL_ENV} && chmod -R g+rw ${VIRTUAL_ENV}

COPY install.R /tmp/install.R
COPY requirements.txt /tmp/requirements.txt
COPY jupyter-requirements.txt /tmp/jupyter-requirements.txt
COPY spatial-requirements.txt /tmp/spatial-requirements.txt
COPY rl-requirements.txt /tmp/rl-requirements.txt

USER ${NB_USER}
WORKDIR /home/${NB_USER}

RUN usermod -s /bin/bash ${NB_USER}
RUN Rscript /tmp/install.R
RUN python3 -m pip install -r /tmp/requirements.txt
RUN python3 -m pip install jupyter-tensorboard-proxy
RUN Rscript /tmp/install.R
RUN python3 -m pip install -r /tmp/jupyter-requirements.txt
RUN python3 -m pip install -r /tmp/spatial-requirements.txt
RUN python3 -m pip install -r /tmp/rl-requirements.txt

## no need to register the environment
#RUN python3 -m ipykernel install --user --name=spatial
Expand Down

0 comments on commit fa46031

Please sign in to comment.