Update Dockerfile to install dependencies with optional handling

This commit is contained in:
Aculix Technologies 2025-10-16 13:35:19 +05:30
parent a1de9e9b29
commit 86b985be27

View File

@ -5,12 +5,11 @@ WORKDIR /app
# Copy package files # Copy package files
COPY package*.json ./ COPY package*.json ./
# Install dependencies # Install dependencies with proper optional dependency handling
RUN npm ci RUN npm install
# Copy source code # Copy source code
COPY . . COPY . .
# Build the application # Build the application
RUN npm run build RUN npm run build