Create Dockerfile
Browse files- Dockerfile +15 -0
Dockerfile
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM ghcr.io/jiuz-chn/cursor-to-openai:latest
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
COPY hf.js /app/hf.js
|
6 |
+
|
7 |
+
RUN npm install http-proxy-middleware url
|
8 |
+
|
9 |
+
ENV HF_PORT=7860
|
10 |
+
# 添加代理环境变量
|
11 |
+
ENV PROXY=""
|
12 |
+
|
13 |
+
EXPOSE 7860
|
14 |
+
|
15 |
+
CMD ["sh", "-c", "node hf.js & npm run start"]
|