fix(flowchart): build image deterministik dengan lockfile dan npm ci

This commit is contained in:
a2nr 2026-10-26 11:06:15 +07:00
parent 81cb9c69ca
commit b3ba23a6ed
4 changed files with 1254 additions and 3 deletions

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "velxio"]
path = velxio
url = https://git.manakin-gentoo.ts.net/a2nr/velxio.git
url = https://repo-rahasia.manakin-gentoo.ts.net/a2nr/velxio.git

7
flowchart/.dockerignore Normal file
View File

@ -0,0 +1,7 @@
node_modules
dist
dist-ssr
.git
.gitignore
*.log
.vscode

View File

@ -2,8 +2,8 @@
FROM node:20-slim AS builder
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm install
COPY package.json package-lock.json ./
RUN npm ci --no-audit --no-fund
COPY . .
RUN npm run build

1244
flowchart/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff