mod dockerfile
This commit is contained in:
@@ -6,8 +6,8 @@ WORKDIR /app
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies (only production for smaller image)
|
||||
RUN npm ci --only=production
|
||||
# Install dependencies (omit dev; no lockfile required)
|
||||
RUN npm install --omit=dev
|
||||
|
||||
# Copy application code
|
||||
COPY server.js ./
|
||||
|
||||
Reference in New Issue
Block a user