feat: readd python and fix default CLEANMEDIA_OPTS

This commit is contained in:
Christian Groschupp 2025-03-28 14:21:13 +01:00
parent 4c02b57672
commit 684e0e84bc

View File

@ -28,5 +28,5 @@ ENV PATH=/app/.venv/bin:$PATH
COPY . .
CMD echo "${CRON:-0 0 * * *} /app/cleanmedia.py ${CLEANMEDIA_OPTS:-c /etc/dendrite/dendrite.yaml -t 30 -n -l}" > /app/crontab && \
CMD echo "${CRON:-0 0 * * *} python /app/cleanmedia.py ${CLEANMEDIA_OPTS:--c /etc/dendrite/dendrite.yaml -t 30 -n -l}" > /app/crontab && \
/usr/local/bin/supercronic /app/crontab