refactor: move timeline scheduler to isolated service

This commit is contained in:
Ruslan Bakiev
2026-02-23 10:58:55 +07:00
parent 2b5aab1210
commit 70369255a2
10 changed files with 354 additions and 168 deletions

View File

@@ -0,0 +1,12 @@
FROM node:22-bookworm-slim
WORKDIR /app/scheduler
COPY package*.json ./
RUN npm ci --omit=dev
COPY run.mjs ./run.mjs
ENV NODE_ENV=production
CMD ["npm", "run", "start"]