API - CODEX AGENTS: persistence and lifecycle endpoints

This commit is contained in:
DCCONSTRUCTIONS
2026-05-14 19:26:50 +03:00
parent e95cb3af33
commit 112522c423
17 changed files with 1071 additions and 37 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY package*.json tsconfig.json ./
COPY src ./src
COPY migrations ./migrations
RUN npm run build
FROM node:24-alpine AS runtime
@@ -15,7 +16,7 @@ WORKDIR /app
ENV NODE_ENV=production
COPY --from=deps /app/node_modules ./node_modules
COPY --from=build /app/dist ./dist
COPY migrations ./migrations
COPY package*.json ./
EXPOSE 4100
CMD ["node", "dist/server.js"]