dcron은 좀;;

This commit is contained in:
imnyang 2025-05-09 21:01:22 +09:00
commit 588a412704

View file

@ -20,9 +20,11 @@ RUN mkdir -p /code/app/temp
RUN bun install RUN bun install
# Cron job # Cron job
RUN apk add --no-cache dcron bash RUN apk add --no-cache curl
RUN curl -OL /code/app/supercronic https://github.com/aptible/supercronic/releases/latest/download/supercronic-linux-amd64 \
&& chmod +x /code/app/supercronic
# Copy the cron job file COPY cron /code/app/cron
COPY cron /etc/crontabs/root RUN chmod +x /code/app/cron
CMD ["crond", "-f"] CMD ["/code/app/supercronic", "/code/app/cron"]