File size: 244 Bytes
b50161b
cdbbaf4
 
 
b50161b
 
 
cdbbaf4
b50161b
 
 
cdbbaf4
b50161b
cdbbaf4
b50161b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM ghcr.io/jiuz-chn/cursor-to-openai:latest

WORKDIR /app

COPY hf.js /app/hf.js

RUN npm install http-proxy-middleware url

ENV HF_PORT=7860
# 添加代理环境变量
ENV PROXY=""

EXPOSE 7860

CMD ["sh", "-c", "node hf.js & npm run start"]