Some checks are pending
CI Pipeline / changes (push) Waiting to run
CI Pipeline / core (push) Blocked by required conditions
CI Pipeline / trading-backend (push) Blocked by required conditions
CI Pipeline / trading-data-service (push) Blocked by required conditions
CI Pipeline / trading-frontend (push) Blocked by required conditions
CI Pipeline / erp-core (push) Blocked by required conditions
CI Pipeline / erp-mecanicas (push) Blocked by required conditions
CI Pipeline / gamilit-backend (push) Blocked by required conditions
CI Pipeline / gamilit-frontend (push) Blocked by required conditions
Core: - Add catalog reference implementations (auth, payments, notifications, websocket, etc.) - New agent profiles: Database Auditor, Integration Validator, LLM Agent, Policy Auditor, Trading Strategist - Update SIMCO directives and add escalation/git guidelines - Add deployment inventory and audit execution reports Projects: - erp-suite: DevOps configs, Dockerfiles, shared libs, vertical enhancements - gamilit: Test structure, admin controllers, service refactoring, husky/commitlint - trading-platform: MT4 gateway, auth controllers, admin frontend, deployment scripts - platform_marketing_content: Full DevOps setup, tests, Docker configs - betting-analytics/inmobiliaria-analytics: Initial app structure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
40 lines
1.1 KiB
Docker
40 lines
1.1 KiB
Docker
# =============================================================================
|
|
# ERP-SUITE: MECANICAS-DIESEL Backend - Dockerfile
|
|
# =============================================================================
|
|
# Puerto: 3041
|
|
# Schemas BD: service_management, parts_management, vehicle_management
|
|
# =============================================================================
|
|
|
|
FROM node:20-alpine AS base
|
|
RUN apk add --no-cache python3 make g++ curl
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
|
|
FROM base AS development
|
|
RUN npm ci
|
|
COPY . .
|
|
EXPOSE 3041
|
|
CMD ["npm", "run", "dev"]
|
|
|
|
FROM base AS builder
|
|
RUN npm ci
|
|
COPY . .
|
|
RUN npm run build
|
|
RUN npm prune --production
|
|
|
|
FROM node:20-alpine AS production
|
|
RUN addgroup -g 1001 -S nodejs && adduser -S nodejs -u 1001
|
|
WORKDIR /app
|
|
|
|
COPY --from=builder --chown=nodejs:nodejs /app/dist ./dist
|
|
COPY --from=builder --chown=nodejs:nodejs /app/node_modules ./node_modules
|
|
COPY --from=builder --chown=nodejs:nodejs /app/package*.json ./
|
|
|
|
USER nodejs
|
|
EXPOSE 3041
|
|
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
|
CMD curl -f http://localhost:3041/health || exit 1
|
|
|
|
CMD ["node", "dist/server.js"]
|