From 90e9bba1e0175714630f97c1a6d8319ee913b471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20He=C3=9Fe?= Date: Tue, 4 Aug 2026 00:34:38 +0200 Subject: [PATCH] Changed Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4583e34..8c07c59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /app # Install dependencies first for better Docker layer caching COPY package*.json ./ -RUN npm ci +RUN npm install # Copy source code and build the production bundle COPY . . @@ -21,7 +21,7 @@ ENV PORT=3000 # Install production dependencies only COPY package*.json ./ -RUN npm ci --only=production +RUN npm install --omit=dev # Copy built dist files and default cms data from builder COPY --from=builder /app/dist ./dist