Update Dockerfile to install all dependencies and modify .dockerignore to exclude log files.

This commit is contained in:
2025-08-13 01:22:41 +01:00
parent 936293ba92
commit 99de77c8f4
2 changed files with 4 additions and 2 deletions

View File

@ -43,3 +43,5 @@ scripts
drizzle drizzle
oliver-super-admin.json oliver-super-admin.json
setup-oliver-admin.html setup-oliver-admin.html
logs
*.log

View File

@ -6,8 +6,8 @@ WORKDIR /app
# Copy package files # Copy package files
COPY package*.json ./ COPY package*.json ./
# Install dependencies # Install ALL dependencies (including dev dependencies needed for build)
RUN npm ci --only=production RUN npm ci
# Copy source code # Copy source code
COPY . . COPY . .