mod dockerfile

This commit is contained in:
2026-01-26 20:11:32 +01:00
parent 8e612037d0
commit f730dabca2
2 changed files with 6 additions and 5 deletions

View File

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