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 . .