Update Dockerfile to install all dependencies and modify .dockerignore to exclude log files.
This commit is contained in:
@ -43,3 +43,5 @@ scripts
|
||||
drizzle
|
||||
oliver-super-admin.json
|
||||
setup-oliver-admin.html
|
||||
logs
|
||||
*.log
|
||||
|
@ -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 . .
|
||||
|
Reference in New Issue
Block a user