File size: 887 Bytes
1301ea9 38be754 fee5106 de21f81 1301ea9 de21f81 fee5106 38be754 fee5106 38be754 fee5106 38be754 37fec62 38be754 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | 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"] |