FROM python:3.11 WORKDIR /code COPY ./requirements.txt /code/requirements.txt RUN apt update RUN apt-get -y install libgdal-dev RUN pip install --no-cache-dir --upgrade numpy RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY . . RUN mkdir /.local RUN chmod a+rwx -R /code/cache RUN chmod a+rwx -R /.local ENV HF_HOME=/code/cache EXPOSE 7860 CMD ["shiny", "run", "baby_shiny.py", "--host", "0.0.0.0", "--port", "7860"]