feat: add dedicated calendar timeline scheduler service

This commit is contained in:
Ruslan Bakiev
2026-02-23 10:54:06 +07:00
parent 4b9682e447
commit f67cef22be
4 changed files with 167 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
FROM node:22-bookworm-slim
WORKDIR /app/frontend
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends openssl ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY package*.json ./
RUN npm ci --ignore-scripts --legacy-peer-deps
COPY prisma ./prisma
RUN npx prisma generate --schema=prisma/schema.prisma
COPY schedulers ./schedulers
ENV NODE_ENV=production
CMD ["node", "schedulers/client-timeline-calendar/run.mjs"]