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*.json ./
# Install dependencies
RUN npm ci
# Install dependencies with proper optional dependency handling
RUN npm install
# Copy source code
COPY . .
# Build the application
RUN npm run build