Skip to content

Commit

Permalink
Merge pull request #3 from dafeliton/Update-Base-Deps-Scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeliton authored Mar 29, 2023
2 parents 77f6d8c + 73d993d commit e7f6657
Show file tree
Hide file tree
Showing 5 changed files with 179 additions and 98 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.ipython
.ipynb_checkpoints
.cache
test*/
.DS_Store
test*/
22 changes: 4 additions & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ USER root

###########################
# Requested for DSC170 WI23
COPY requirements.txt /home/jovyan

RUN apt update -y && \
apt-get install software-properties-common -y && \
add-apt-repository universe && \
Expand All @@ -20,24 +22,7 @@ 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 && \
pip install pillow==9.1 \
pyproj==3.3 \
openpyxl \
cenpy \
python-Levenshtein \
geopy \
ipyleaflet \
ipywidgets \
keplergl \
mesa-geo \
mesa \
matplotlib \
jupyterlab==2.3.1 \
shapely==2.0.0 \
pyshp==2.3.1 \
pandas==1.5.2 \
censusdata \
graphviz && \
pip install -r ~/requirements.txt && \
pip install --upgrade fiona

RUN jupyter nbextension enable --py widgetsnbextension --sys-prefix && \
Expand All @@ -50,6 +35,7 @@ RUN jupyter nbextension enable --py --sys-prefix arcgis && \
USER $NB_UID

COPY arcgis_test.ipynb /opt
RUN rm -rf /home/jovyan/requirements.txt

ENV USE_PYGEOS=0

Loading

0 comments on commit e7f6657

Please sign in to comment.