fix: npm install instead of npm ci (no lockfile)

This commit is contained in:
Manohar 2026-05-08 16:31:38 +00:00
parent cf58468fcc
commit 5bb59de545

View file

@ -5,7 +5,7 @@ WORKDIR /app
# Install dependencies (including dev deps for tsc) # Install dependencies (including dev deps for tsc)
COPY package*.json ./ COPY package*.json ./
RUN npm ci RUN npm install
# Copy source and compile TypeScript # Copy source and compile TypeScript
COPY tsconfig.json ./ COPY tsconfig.json ./
@ -19,7 +19,7 @@ WORKDIR /app
# Production deps only — also rebuild better-sqlite3 for Alpine (musl libc) # Production deps only — also rebuild better-sqlite3 for Alpine (musl libc)
COPY package*.json ./ COPY package*.json ./
RUN npm ci --omit=dev && \ RUN npm install --omit=dev && \
npm rebuild better-sqlite3 && \ npm rebuild better-sqlite3 && \
npm cache clean --force npm cache clean --force