flameface commited on
Commit
cc89509
·
verified ·
1 Parent(s): 0ea8b48

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -2,9 +2,10 @@ FROM node:20
2
 
3
  WORKDIR /
4
 
5
- EXPOSE 7680
 
 
6
 
7
  COPY . .
8
 
9
- CMD ["npm", "install"]
10
  CMD ["npm", "start"]
 
2
 
3
  WORKDIR /
4
 
5
+ COPY package*.json ./
6
+
7
+ RUN npm install
8
 
9
  COPY . .
10
 
 
11
  CMD ["npm", "start"]