refactor(worker): use native bun cron
This commit is contained in:
+1
-2
@@ -36,5 +36,4 @@ CMD ["bun", "start"]
|
||||
# Stage 4: Scheduled video upload worker
|
||||
FROM deps AS video-upload-worker
|
||||
COPY . .
|
||||
COPY scripts/video-upload-crontab /etc/crontabs/root
|
||||
ENTRYPOINT ["crond", "-f", "-l", "2", "-L", "/dev/stdout"]
|
||||
CMD ["bun", "run", "worker/video-upload.ts"]
|
||||
|
||||
Reference in New Issue
Block a user