- Terraform environments (production, staging) with R2 backend - Terraform modules: cloudflare-pages, cloudflare-worker, railway-service, digitalocean-droplet - Docker: multi-stage Dockerfiles for core, web, agents, operator + compose - CI templates: node-ci, terraform-ci, docker-ci reusable workflows - Composite actions: brand-compliance, deploy-cloudflare - Operational scripts: bootstrap, health-check, rotate-keys - GitHub Actions: terraform-plan, terraform-apply, docker-build Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
377 B
Docker
16 lines
377 B
Docker
# Copyright (c) 2025-2026 BlackRoad OS, Inc. All Rights Reserved.
|
|
FROM node:22-alpine AS builder
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
RUN npm ci
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
FROM node:22-alpine
|
|
WORKDIR /app
|
|
COPY --from=builder /app/dist ./dist
|
|
COPY --from=builder /app/node_modules ./node_modules
|
|
COPY --from=builder /app/package.json ./
|
|
EXPOSE 8788
|
|
CMD ["node", "dist/index.js"]
|