fix: use npm install instead of npm ci in Dockerfile
npm ci requires package-lock.json which is at root level in monorepo. npm install works without it.
This commit is contained in:
@@ -5,8 +5,8 @@ WORKDIR /app
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm ci --only=production
|
||||
# Install dependencies (production only)
|
||||
RUN npm install --omit=dev
|
||||
|
||||
# Copy source code
|
||||
COPY src/ ./src/
|
||||
|
||||
Reference in New Issue
Block a user