tianlong12 commited on
Commit
ebfcda6
·
verified ·
1 Parent(s): 576d2cf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -4,11 +4,11 @@ WORKDIR /app
4
 
5
  COPY package.json .
6
  COPY index.js .
7
- COPY start.sh .
8
 
9
  RUN npm install
10
- RUN chmod +x start.sh
11
 
12
  EXPOSE 7860
13
 
14
- CMD ["/app/start.sh"]
 
 
 
4
 
5
  COPY package.json .
6
  COPY index.js .
 
7
 
8
  RUN npm install
 
9
 
10
  EXPOSE 7860
11
 
12
+ ENV PORT=7860
13
+
14
+ CMD ["node", "index.js"]