Skip to content

Commit

Permalink
Change directory of image and removed a couple installation lines
Browse files Browse the repository at this point in the history
  • Loading branch information
man3ng committed Nov 13, 2024
1 parent 5e1ec2a commit 5f56c64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
13 changes: 5 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_CONTAINER=ucsdets/datahub-base-notebook:stable
ARG BASE_CONTAINER=ghcr.io/ucsd-ets/datascience-notebook:2024.4-stable
FROM $BASE_CONTAINER

LABEL maintainer="UC San Diego ITS/ETS <[email protected]>"
Expand All @@ -16,19 +16,16 @@ RUN apt update -y && \
apt install graphviz -y
RUN mamba install -c esri arcgis=2.2.0 -y

RUN mamba install numpy=1.22.4 -y || echo "Failed to install numpy"
RUN mamba install numpy -y

RUN pip install --upgrade pip setuptools wheel
RUN pip install --upgrade nbconvert

RUN mamba install -c conda-forge geopandas cartopy pygeos pysal contextily osmnx jupyterlab_widgets -y

RUN pip uninstall pillow fiona -y || echo "Failed to uninstall pillow or fiona" && \
pip install -r ~/requirements.txt || echo "Failed to install requirements" && \
pip install --upgrade fiona || echo "Failed to upgrade fiona"

RUN jupyter nbextension enable --py --sys-prefix arcgis && \
jupyter nbextension enable --py --sys-prefix arcgis
RUN pip uninstall pillow fiona -y && \
pip install -r ~/requirements.txt && \
pip install --upgrade fiona

USER $NB_UID

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ pyshp==2.3.1
pandas==1.5.2
censusdata
graphviz
numexpr==2.10.1
bottleneck==1.4.2
# numexpr==2.10.1
# bottleneck==1.4.2

0 comments on commit 5f56c64

Please sign in to comment.