From 935ed58b135e221f97de4e4ba304f4999ca2827a Mon Sep 17 00:00:00 2001 From: bloodstiller <84631290+bloodstiller@users.noreply.github.com> Date: Fri, 30 Jan 2026 15:18:39 +0000 Subject: [PATCH] Update Dockerfile Fix broken Buster repositories + install Graphviz --- Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bd24085..280b1bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,15 @@ FROM python:3.8-slim-buster COPY . /app -RUN apt-get update ; apt-get install -y graphviz + +RUN sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list && \ + sed -i '/security.debian.org/d' /etc/apt/sources.list && \ + apt-get update && \ + apt-get install -y --no-install-recommends graphviz && \ + rm -rf /var/lib/apt/lists/* + RUN mkdir -p /storage RUN pip install /app ENV PMAPPER_STORAGE /storage -CMD sh +CMD ["sh"]