fix: npm install instead of npm ci (no lockfile)
This commit is contained in:
parent
cf58468fcc
commit
5bb59de545
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ WORKDIR /app
|
|||
|
||||
# Install dependencies (including dev deps for tsc)
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
RUN npm install
|
||||
|
||||
# Copy source and compile TypeScript
|
||||
COPY tsconfig.json ./
|
||||
|
|
@ -19,7 +19,7 @@ WORKDIR /app
|
|||
|
||||
# Production deps only — also rebuild better-sqlite3 for Alpine (musl libc)
|
||||
COPY package*.json ./
|
||||
RUN npm ci --omit=dev && \
|
||||
RUN npm install --omit=dev && \
|
||||
npm rebuild better-sqlite3 && \
|
||||
npm cache clean --force
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue