abubasith86 commited on
Commit
c235b9c
·
1 Parent(s): 3213340
Files changed (1) hide show
  1. Dockerfile +1 -11
Dockerfile CHANGED
@@ -29,17 +29,7 @@ WORKDIR /usr/src/app
29
  # Install npm dependencies
30
  RUN npm install
31
 
32
- # Second stage: use the generated package-lock.json for a clean install
33
- FROM node:23.7.0
34
- WORKDIR /usr/src/app
35
- # Copy package.json and the generated package-lock.json from the builder stage
36
- COPY package.json ./
37
- COPY --from=builder /app/package-lock.json ./
38
- # Use npm ci with the lock file for a reproducible, production install
39
- RUN npm ci --only=production
40
-
41
- # Copy the rest of your application code
42
- COPY . .
43
  # Expose the port your application runs on
44
  EXPOSE 5000
45
 
 
29
  # Install npm dependencies
30
  RUN npm install
31
 
32
+
 
 
 
 
 
 
 
 
 
 
33
  # Expose the port your application runs on
34
  EXPOSE 5000
35