FROM ghcr.io/xavion-lux/send:latest USER root RUN echo "find /uploads/ -name 7-\* -mmin +10130 -exec rm {} \;" > /etc/periodic/hourly/clean-up RUN echo "find /uploads/ -name 1-\* -mmin +1500 -exec rm {} \;" >> /etc/periodic/hourly/clean-up RUN chmod +x /etc/periodic/hourly/clean-up USER app WORKDIR /app CMD ["node", "server/bin/prod.js"]