-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
36 lines (25 loc) · 958 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
FROM artifactory.gns.cri.nz/gns/volcano_monitoring_base_image:0.0.1
LABEL maintainer="Yannik Behr <[email protected]>"
USER $D_USER
# Install Python 3 packages
# Remove pyqt and qt pulled in for matplotlib since we're only ever going to
# use notebook-friendly backends in these images
RUN mamba install --quiet --yes -c pyviz \
pandas \
holoviews \
bokeh &&\
conda remove --quiet --yes --force qt pyqt && \
conda clean -tipsy && \
fix-permissions $CONDA_DIR
RUN mamba install --quiet --yes -c conda-forge \
obspy \
datashader \
pyproj \
xarray && \
conda clean -tipsy && \
fix-permissions $CONDA_DIR
COPY record_section_hv.py /home/$D_USER/
WORKDIR /home/$D_USER/
CMD ["bokeh", "serve", "--port", "3000", "--allow-websocket-origin", "volcanolab.gns.cri.nz:3000", "--show", "record_section_hv.py"]