Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Jan 16, 2024
1 parent 150280c commit 46345fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ RUN chown -R root:staff ${VIRTUAL_ENV} && chmod -R ug+rw ${VIRTUAL_ENV}
USER ${NB_USER}
RUN usermod -s /bin/bash ${NB_USER}
RUN python3 -m pip install -r /tmp/requirements.txt
RUN python3 -m pip install jupyter-tensorboard-proxy
RUN python3 -m ipykernel install --user --name=spatial


WORKDIR /home/${NB_USER}
ENV PATH $VIRTUAL_ENV/bin:$PATH

Expand Down
1 change: 1 addition & 0 deletions images/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN chown -R root:staff ${VIRTUAL_ENV} && chmod -R ug+rw ${VIRTUAL_ENV}
USER ${NB_USER}
RUN usermod -s /bin/bash ${NB_USER}
RUN python3 -m pip install -r /tmp/requirements.txt
RUN python3 -m pip install jupyter-tensorboard-proxy
RUN python3 -m ipykernel install --user --name=spatial


Expand Down
4 changes: 2 additions & 2 deletions jupyterhub/public-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ singleuser:
mem_guarantee: 31861460992
mem_limit: 31861460992
kubespawner_override:
image: ghcr.io/boettiger-lab/k8s-gpu:latest
image: ghcr.io/boettiger-lab/k8s:latest
default_url: /lab # change to /rstudio to go straight to RStudio
working_dir: /home/rstudio
- display_name: "GPU"
slug: gpu
description: Jupyter + R environment with many geospatial libraries pre-installed
description: Jupyter + R with GPU
profile_options:
resource_allocation:
display_name: Resource Allocation
Expand Down

0 comments on commit 46345fe

Please sign in to comment.