Merge pull request #3 from franknstayn/feat/dev

Feat/dev
This commit is contained in:
franknstayn
2025-11-21 10:49:19 +08:00
committed by GitHub

View File

@@ -6,8 +6,8 @@ WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies with clean cache
RUN npm ci --prefer-offline --no-audit
# Install dependencies
RUN npm install --legacy-peer-deps
# Copy source code
COPY . .
@@ -23,8 +23,8 @@ WORKDIR /app
# Copy package files
COPY package*.json ./
# Install only production dependencies with clean cache
RUN npm ci --prefer-offline --no-audit --omit=dev
# Install only production dependencies
RUN npm install --production --legacy-peer-deps
# Copy built application from builder stage
COPY --from=builder /app/.output ./.output