fix(flowchart): build image deterministik dengan lockfile dan npm ci
This commit is contained in:
parent
81cb9c69ca
commit
b3ba23a6ed
|
|
@ -1,3 +1,3 @@
|
||||||
[submodule "velxio"]
|
[submodule "velxio"]
|
||||||
path = velxio
|
path = velxio
|
||||||
url = https://git.manakin-gentoo.ts.net/a2nr/velxio.git
|
url = https://repo-rahasia.manakin-gentoo.ts.net/a2nr/velxio.git
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
dist-ssr
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
*.log
|
||||||
|
.vscode
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
FROM node:20-slim AS builder
|
FROM node:20-slim AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json package-lock.json* ./
|
COPY package.json package-lock.json ./
|
||||||
RUN npm install
|
RUN npm ci --no-audit --no-fund
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue