Scaffold hatchet worker service

This commit is contained in:
Ruslan Bakiev
2026-03-30 20:54:53 +07:00
parent 3cabb069f4
commit 67a4a8c8e8
8 changed files with 260 additions and 1 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM node:22-bookworm-slim
WORKDIR /app
RUN apt-get update -y && apt-get install -y --no-install-recommends curl jq ca-certificates && rm -rf /var/lib/apt/lists/*
COPY package*.json ./
RUN npm ci
COPY src ./src
COPY scripts ./scripts
CMD ["sh", "-c", ". /app/scripts/load-vault-env.sh && node src/worker.js"]