ARG BASE_IMAGE FROM $BASE_IMAGE USER root RUN apt-get update && apt upgrade -y RUN apt-get install gcc python3-full python3-dev cups libcups2-dev locales locales-all -y RUN mkdir /backups 2>/dev/null RUN mkdir /data 2>/dev/null VOLUME /backups VOLUME /data RUN pip3 install --break-system-packages python-crontab html2text dropbox pysftp pyncclient openpyxl xlrd>=1.0.0 nextcloud-api-wrapper