Fix: Use npm ci for backend dependencies
Publish Docker image / build-and-push (push) Successful in 1m45s
Publish Docker image / build-and-push (push) Successful in 1m45s
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ WORKDIR /app
|
||||
|
||||
# Copy backend package config and install production dependencies
|
||||
COPY backend/package.json backend/package-lock.json* ./
|
||||
RUN npm install --omit=dev
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
# Copy rest of the backend code
|
||||
COPY backend/ .
|
||||
|
||||
Reference in New Issue
Block a user