chore: migrate to Nix flakes, remove Docker and legacy configs

Remove all Docker files, Vercel config, Verdaccio, and old CI workflow.
Standardize on nodejs_22 across devShell and nix build helpers.
Update CI to build all packages and push to Cachix on merge to develop.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
maulanasdqn
2026-03-30 23:05:37 +07:00
co-authored by Claude Opus 4.6
parent 3de1748f12
commit bbb1bae909
26 changed files with 90 additions and 496 deletions
-17
View File
@@ -1,17 +0,0 @@
FROM node:22-alpine AS deps
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --prefer-offline --no-audit --no-fund
FROM node:22-alpine AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
ENV NX_DAEMON=false
RUN npm run qrcampaign:build
FROM nginx:alpine AS runner
RUN rm -rf /usr/share/nginx/html/*
COPY --from=builder /app/dist/apps/qrcampaign /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]