refactor: flatten scheduler service to root schedulers dir
This commit is contained in:
12
schedulers/Dockerfile
Normal file
12
schedulers/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user