dongsiqie commited on
Commit
075bbe6
·
1 Parent(s): 87e9947

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -1,6 +1,7 @@
1
  FROM node:19
2
  RUN git clone https://github.com/yangjianchuan/ChatGPT-with-Plugins.git
3
  WORKDIR "ChatGPT-with-Plugins"
4
- RUN yarn install && yarn build
 
5
  EXPOSE 3000
6
- CMD yarn start
 
1
  FROM node:19
2
  RUN git clone https://github.com/yangjianchuan/ChatGPT-with-Plugins.git
3
  WORKDIR "ChatGPT-with-Plugins"
4
+ RUN npm i
5
+ RUN npm run build
6
  EXPOSE 3000
7
+ CMD ["npm", "run", "start"]