FROM python:3.10.5-slim-bullseye ENV LANG C.UTF-8 ENV PYTHONPATH $PYTHONPATH:/srv ENV PATH="/root/.local/bin:${PATH}" WORKDIR /srv RUN apt-get update -qq && \ apt-get install -y cron RUN pip install --default-timeout=200 --upgrade pip==22.3.1 && \ pip install feed2toot==0.17 && \ pip install wheel==0.38.4 RUN echo "@hourly feed2toot -c /data/feed2toot.ini \n" > /etc/cron.d/feed2toot && \ crontab /etc/cron.d/feed2toot && \ touch /var/log/feed2toot.log CMD cron && tail -f /var/log/feed2toot.log