Update Dockerfile
Browse files- 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/\/
|
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"]
|