OPS - CODEX AGENTS: product-like Gateway Docker runtime

This commit is contained in:
DCCONSTRUCTIONS
2026-05-14 21:15:05 +03:00
parent 9cb1cd0a9e
commit 18ffe8ddc6
7 changed files with 60 additions and 5 deletions
+5 -2
View File
@@ -14,9 +14,12 @@ RUN npm run build
FROM node:24-alpine AS runtime
WORKDIR /app
ENV NODE_ENV=production
COPY --from=deps /app/node_modules ./node_modules
COPY package*.json ./
RUN npm ci --omit=dev && npm cache clean --force
COPY --from=build /app/dist ./dist
COPY migrations ./migrations
COPY package*.json ./
COPY docker-entrypoint.sh ./docker-entrypoint.sh
RUN chmod +x ./docker-entrypoint.sh
EXPOSE 4100
ENTRYPOINT ["./docker-entrypoint.sh"]
CMD ["node", "dist/server.js"]