fix: install all dependencies including devDependencies for build
CI/CD Pipeline / Build & Deploy (push) Failing after 49s
CI/CD Pipeline / Build & Deploy (push) Failing after 49s
This commit is contained in:
+2
-2
@@ -8,8 +8,8 @@ WORKDIR /app
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm ci --only=production
|
||||
# Install ALL dependencies (build needs devDependencies)
|
||||
RUN npm ci
|
||||
|
||||
# Copy source
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user