Spaces:
Sleeping
Sleeping
File size: 718 Bytes
e5c0f25 55b0c68 e5c0f25 55b0c68 e5c0f25 55b0c68 e5c0f25 55b0c68 e5c0f25 b173822 e5c0f25 55b0c68 e5c0f25 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
FROM condaforge/mambaforge
# install packages from conda-forge using mamba
COPY environment.yml .
RUN mamba env create -f environment.yml
SHELL ["conda", "run", "-n", "panel_app", "/bin/bash", "-c"]
# clone the notebooks from repo into examples folker
RUN git clone https://github.com/reproducible-notebooks/Holoviz-Demos.git /bokeh
RUN mkdir -p /examples && cp /bokeh/*.ipynb /examples/ && rm -rf /bokeh
#ADD https://raw.githubusercontent.com/bokeh/demo.bokeh.org/main/index.html /index.html
CMD panel serve \
--allow-websocket-origin="*" \
--port="7860" \
--address="0.0.0.0" \
/examples/COAWST-Explorer.ipynb
RUN mkdir /.cache
RUN chmod 777 /.cache
RUN mkdir .chroma
RUN chmod 777 .chroma
|