fix: update npm install command to omit development dependencies
This commit is contained in:
@@ -15,7 +15,7 @@ WORKDIR /app
|
||||
|
||||
# Install server dependencies
|
||||
COPY server/package*.json ./
|
||||
RUN npm ci --production && npm cache clean --force
|
||||
RUN npm ci --omit=dev && npm cache clean --force
|
||||
|
||||
# Copy server source
|
||||
COPY server/src ./src
|
||||
|
||||
Reference in New Issue
Block a user