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 files
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
# Install dependencies
|
# Install ALL dependencies (build needs devDependencies)
|
||||||
RUN npm ci --only=production
|
RUN npm ci
|
||||||
|
|
||||||
# Copy source
|
# Copy source
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user