Fix: Downgrade to Express v4 and rebuild deps in Docker
Publish Docker image / build-and-push (push) Successful in 2m7s

This commit is contained in:
denozord committed 2025-07-07 13:37:11 +07:00
1 parent 18a0399308
commit 9582105258
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -15,9 +15,9 @@ RUN npm run build
FROM node:18-slim
WORKDIR /app
# Copy backend package config and install production dependencies
COPY backend/package.json backend/package-lock.json* ./
RUN npm ci --omit=dev
# Copy package.json ONLY and install production dependencies from scratch
COPY backend/package.json ./
RUN npm install --omit=dev
# Copy rest of the backend code
COPY backend/ .