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 config and install production dependencies
|
||||||
COPY backend/package.json backend/package-lock.json* ./
|
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 rest of the backend code
|
||||||
COPY backend/ .
|
COPY backend/ .
|
||||||
|
|||||||
Reference in New Issue
Block a user