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 files
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies (production only)
|
||||||
RUN npm ci --only=production
|
RUN npm install --omit=dev
|
||||||
|
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY src/ ./src/
|
COPY src/ ./src/
|
||||||
|
|||||||
Reference in New Issue
Block a user