R-Kentaren commited on
Commit
2925b0c
·
verified ·
1 Parent(s): 8faec92

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,10 +1,10 @@
1
- # Use Node.js base image
2
- FROM node:16-alpine
3
 
4
  # Create app directory
5
  WORKDIR /usr/src/app
6
 
7
- # Update npm globally to specific version
8
  RUN npm install -g [email protected]
9
 
10
  # Copy package files
 
1
+ # Use Node.js 20 base image instead of 16
2
+ FROM node:20-alpine
3
 
4
  # Create app directory
5
  WORKDIR /usr/src/app
6
 
7
+ # Update npm globally to version 11.4.2
8
  RUN npm install -g [email protected]
9
 
10
  # Copy package files