Create Dockerfile
Browse files- Dockerfile +11 -0
Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM node:20-bullseye-slim
|
2 |
+
|
3 |
+
RUN git clone https://github.com/zuisong/gemini-openai-proxy.git /app
|
4 |
+
WORKDIR /app
|
5 |
+
|
6 |
+
RUN sed -i "s/8000/7860/" main_node.ts
|
7 |
+
|
8 |
+
RUN npm install
|
9 |
+
|
10 |
+
CMD [ "npm", "run", "start:node" ]
|
11 |
+
|