saq1b commited on
Commit
706ef38
·
1 Parent(s): f4c83f0

copy node_modules to Docker image for dependency management

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -9,6 +9,9 @@ WORKDIR /app
9
  # Copy package.json and package-lock.json first for better caching
10
  COPY package*.json ./
11
 
 
 
 
12
  # Install dependencies
13
  RUN npm install
14
 
 
9
  # Copy package.json and package-lock.json first for better caching
10
  COPY package*.json ./
11
 
12
+ # Copy node_modules
13
+ COPY node_modules ./node_modules
14
+
15
  # Install dependencies
16
  RUN npm install
17