ltxlong commited on
Commit
00fedd5
·
verified ·
1 Parent(s): 6f719a0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -10,7 +10,7 @@ ADD utils.js src/
10
  RUN yarn config set registry https://registry.npmmirror.com/
11
  RUN yarn
12
 
13
- RUN sed -i 's/\/v1\/chat\/completions/\/proxies\/v1\/chat\/completions/g' src/index.js
14
  RUN sed -i '/\/\/ 启动服务器/c\app.get("/", async (req, res) => {\n return res.status(200).send("hello world!");\n});' src/index.js
15
 
16
  CMD ["npm", "run", "start"]
 
10
  RUN yarn config set registry https://registry.npmmirror.com/
11
  RUN yarn
12
 
13
+ RUN sed -i 's/\/v1\/chat\/completions/\/hf\/v1\/chat\/completions/g' src/index.js
14
  RUN sed -i '/\/\/ 启动服务器/c\app.get("/", async (req, res) => {\n return res.status(200).send("hello world!");\n});' src/index.js
15
 
16
  CMD ["npm", "run", "start"]