From 99de77c8f48ecf8de739170122fd779f8c08ff73 Mon Sep 17 00:00:00 2001 From: Oliver Gwyther Date: Wed, 13 Aug 2025 01:22:41 +0100 Subject: [PATCH] Update Dockerfile to install all dependencies and modify .dockerignore to exclude log files. --- .dockerignore | 2 ++ Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 1139ce9..52bb310 100644 --- a/.dockerignore +++ b/.dockerignore @@ -43,3 +43,5 @@ scripts drizzle oliver-super-admin.json setup-oliver-admin.html +logs +*.log diff --git a/Dockerfile b/Dockerfile index 5caf4c4..1ff9155 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,8 @@ WORKDIR /app # Copy package files COPY package*.json ./ -# Install dependencies -RUN npm ci --only=production +# Install ALL dependencies (including dev dependencies needed for build) +RUN npm ci # Copy source code COPY . .