FROM mcr.microsoft.com/devcontainers/python:3.13 RUN apt-get update \ && apt-get install -y --no-install-recommends \ git \ inkscape \ fonts-dejavu \ locales \ libpango-1.0-0 \ libpangocairo-1.0-0 \ libfontconfig1 \ libglib2.0-0 \ libgtk-3-0 \ libgdk-pixbuf-2.0-0 \ librsvg2-common \ libxcb-render0 \ libxcb-shm0 \ libxrender1 \ libx11-6 \ nodejs \ poppler-utils \ wget \ && rm -rf /var/lib/apt/lists/* RUN sed -i 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 WORKDIR /workspace COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . RUN mkdir -p /workspace/www \ && chmod -R 777 /workspace/www EXPOSE 7860 CMD ["shiny", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]