api / Dockerfile
isididiidid's picture
Create Dockerfile
66f34e5 verified
raw
history blame
245 Bytes
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"]