Skip to content

Commit

Permalink
Dockerfile (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
neteler authored Oct 29, 2024
1 parent 777639b commit de2305f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ FROM jupyter/base-notebook:latest
LABEL maintainer="Qiusheng Wu"
LABEL repo="https://github.com/opengeos/segment-geospatial"

USER root
RUN apt-get update -y && apt-get install libgl1 -y

USER 1000
RUN mamba install -c conda-forge leafmap localtileserver segment-geospatial -y && \
pip install -U segment-geospatial jupyter-server-proxy && \
pip install -U segment-geospatial jupyter-server-proxy backports.tarfile && \
jupyter server extension enable --sys-prefix jupyter_server_proxy && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"
Expand Down

0 comments on commit de2305f

Please sign in to comment.