0
0
docker-images/dockerfiles/send.Dockerfile
Opnxng e93e505527
Some checks failed
caddy / build (push) Successful in 5m15s
wolfree / build (push) Failing after 5s
simplytranslate / build (push) Failing after 3s
send / build (push) Failing after 3s
searxng / build-searxng (push) Successful in 59s
redlib / build-redlib (push) Failing after 2s
rat-aint-tieba / build (push) Failing after 6s
proxigram / build (push) Failing after 3s
priviblur / build-priviblur (push) Failing after 2s
imgin / build (push) Failing after 4s
docker-buildx / build (push) Successful in 50s
binternet / build (push) Failing after 2s
Added Send
2025-01-22 05:57:30 +08:00

11 lines
352 B
Docker
Executable File

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"]