Add cached media cleanup cron job

This commit is contained in:
Johannes Zellner
2020-08-16 10:30:44 +02:00
parent 343889821f
commit 34fb84e4ef
3 changed files with 16 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ RUN ln -fs /run/mastodon/bullet.log /app/code/log/bullet.log
RUN ln -fs /app/data/system /app/code/public/system
RUN rm -rf /app/code/tmp && ln -fs /tmp/mastodon /app/code/tmp
COPY start.sh env.template /app/pkg/
COPY start.sh cleanup.sh env.template /app/pkg/
CMD [ "/app/pkg/start.sh" ]