FROM python:3.10.6 WORKDIR /code ADD requirements.txt /code/requirements.txt ADD app.py index.py model.py get_patches.py /code/ RUN apt-get update && apt-get upgrade -y RUN apt-get install -y software-properties-common RUN apt-get install -y build-essential cmake pkg-config \ && apt-get install -y libx11-dev libatlas-base-dev \ && apt-get install -y libgtk-3-dev libboost-python-dev RUN pip install --timeout=100000 -r requirements.txt ENV MPLCONFIGDIR=/usr/src/app/.config/matplotlib RUN mkdir -p /usr/src/app/.config/matplotlib RUN chmod -R 777 /usr/src/app/.config/matplotlib CMD ["panel" , "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "jatin-tech-SkinZen.hf.space"]