Bhargavssss commited on
Commit
d41ba4d
·
verified ·
1 Parent(s): a14955b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -9,7 +9,10 @@ WORKDIR /app
9
  RUN git clone https://github.com/al1abb/invoify .
10
 
11
  # Install dependencies and build
12
- RUN npm install
 
 
 
13
  RUN npm run build
14
 
15
 
@@ -26,4 +29,4 @@ COPY --from=build --chown=nextjs:nodejs /app/public ./public
26
  USER nextjs
27
 
28
  EXPOSE 3000
29
- CMD npm start
 
9
  RUN git clone https://github.com/al1abb/invoify .
10
 
11
  # Install dependencies and build
12
+ # Using --no-fund and --no-audit to reduce noise in logs
13
+ RUN npm install --no-fund --no-audit
14
+ # You can optionally try to update glob to a newer version
15
+ # RUN npm install glob@latest --save-dev
16
  RUN npm run build
17
 
18
 
 
29
  USER nextjs
30
 
31
  EXPOSE 3000
32
+ CMD npm start