Spaces:
Runtime error
Runtime error
| 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/CONUS404_Panel_App.ipynb | |
| RUN mkdir /.cache | |
| RUN chmod 777 /.cache | |
| RUN mkdir .chroma | |
| RUN chmod 777 .chroma |