update package-lock.json

This commit is contained in:
Suchin Sapphasitthatha 2025-08-05 13:09:53 +07:00
parent 9c242dd57a
commit 4a60385007
2 changed files with 2 additions and 57 deletions

View file

@ -6,8 +6,7 @@ WORKDIR /app
# Install app dependencies
COPY package*.json ./
RUN npm install
# RUN npm ci
RUN npm ci
# Copy source files and build the app
COPY . .
@ -15,7 +14,6 @@ RUN npm run build
# Production Stage
FROM node:20.19.4-alpine
ENV NODE_ENV=production
# Create app directory
@ -25,7 +23,7 @@ WORKDIR /app
COPY --from=build-stage /app/dist ./dist
# Install only production dependencies
COPY package.json ./
COPY package*.json ./
RUN npm ci --production
USER node