FROM python:3.13.5-slim-bookworm ENV PYTHONUNBUFFERED=1 WORKDIR /code RUN apt update RUN apt install -y libgl1-mesa-glx RUN apt install -y libglib2.0-0 RUN apt install libreoffice -y RUN apt-get update && \ apt-get install -y wget gnupg lsb-release && \ sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' && \ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \ apt-get update && \ apt-get install -y postgresql-client-17 && \ rm -rf /var/lib/apt/lists/* RUN apt-get update && \ apt-get install -y sshpass openssh-client && \ rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install rsync -y COPY requirements.txt /code/ RUN pip3 install -r requirements.txt COPY . /code/