shashwatIDR commited on
Commit
01c681c
·
verified ·
1 Parent(s): e4256ad

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,8 +7,8 @@ WORKDIR /app
7
  # Copy package.json and package-lock.json (if available)
8
  COPY package*.json ./
9
 
10
- # Install dependencies
11
- RUN npm ci --only=production
12
 
13
  # Copy the rest of the application code
14
  COPY . .
 
7
  # Copy package.json and package-lock.json (if available)
8
  COPY package*.json ./
9
 
10
+ # Install dependencies - use npm install if package-lock.json doesn't exist
11
+ RUN npm install --omit=dev
12
 
13
  # Copy the rest of the application code
14
  COPY . .