rsignell/HRRR_Explorer
1
1FROM condaforge/mambaforge2 3# install packages from conda-forge using mamba4COPY environment.yml .5RUN mamba env create -f environment.yml6SHELL ["conda", "run", "-n", "panel_app", "/bin/bash", "-c"]7 8# clone the notebooks from repo into examples folker9RUN git clone https://github.com/reproducible-notebooks/Holoviz-Demos.git /bokeh10RUN mkdir -p /examples && cp /bokeh/*.ipynb /examples/ && rm -rf /bokeh11 12#ADD https://raw.githubusercontent.com/bokeh/demo.bokeh.org/main/index.html /index.html13 14CMD panel serve \15 --allow-websocket-origin="*" \16 --port="7860" \17 --address="0.0.0.0" \18 /examples/HRRR-Explorer.ipynb 19 20RUN mkdir /.cache21RUN chmod 777 /.cache22RUN mkdir .chroma23RUN chmod 777 .chroma