invoice item total and subtotal
This commit is contained in:
+3
-4
@@ -1,9 +1,8 @@
|
||||
# Stage 1: Base
|
||||
FROM node:22-alpine AS base
|
||||
|
||||
# Install timezone support
|
||||
RUN apk add --no-cache tzdata
|
||||
RUN cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime && echo "Asia/Tehran" > /etc/timezone
|
||||
# Set timezone (Node.js respects TZ env variable natively)
|
||||
ENV TZ=Asia/Tehran
|
||||
|
||||
# Set workdir for clarity
|
||||
WORKDIR /app
|
||||
@@ -12,7 +11,7 @@ WORKDIR /app
|
||||
FROM base AS deps
|
||||
WORKDIR /temp-deps
|
||||
COPY package*.json ./
|
||||
RUN npm ci --ignore-scripts
|
||||
RUN npm ci --ignore-scripts --no-fund --no-audit
|
||||
|
||||
# Stage 3: Build
|
||||
FROM base AS builder
|
||||
|
||||
Reference in New Issue
Block a user