FROM python:3.8 WORKDIR /code COPY ./train.csv /code/train.csv COPY ./requirements.txt /code/requirements.txt COPY ./webpanel.ipynb /code/webpanel.ipynb RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY . . RUN set BOKEH_ALLOW_WS_ORIGIN=njain-custchurnwebapp.hf.space CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin" ,"njain-custchurnwebapp.hf.space"]