
Hi ,
I’m trying to create a docker container using this https://github.com/bokeh/demo.bokeh.org.
My folder structure is
--ML_Tool (Main Folder)
--Dockerfile
--ML(Folder with the bokeh app)
--main.py
Here’s my Dockerfile:
FROM continuumio/miniconda
ENV BK_VERSION=1.4.0
ENV PY_VERSION=3.7
ENV NUM_PROCS=4
ENV BOKEH_RESOURCES=cdn
RUN apt-get install git bash
RUN conda config --append channels conda-forge
RUN conda config --append channels districtdatalabs
RUN conda install --yes --quiet python=${PY_VERSION} pyyaml jinja2 bokeh=${BK_VERSION} numpy numba yellowbrick scipy sympy "nodejs>=8.8" pandas scikit-learn
RUN conda clean -ay
EXPOSE 5006
EXPOSE 80
CMD bokeh serve \
--allow-websocket-origin="*" \
--index=/index.html \
--num-procs=${NUM_PROCS} \
ML
When I run docker run --rm -p 5006:5006 -it ml_tool, I get the an error:
ERROR: Path for Bokeh server application does not exist: /ML.
Any feedback?


