Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
-
FROM node:
|
2 |
WORKDIR /app
|
3 |
RUN git clone https://github.com/PublicAffairs/openai-gemini /app/tmp
|
|
|
|
|
|
|
4 |
RUN mv /app/tmp/* /app
|
5 |
RUN npm install
|
6 |
RUN sed -i 's/server.listen(port, () => {/server.listen(port, "0.0.0.0", () => {/' /app/node.mjs
|
|
|
1 |
+
FROM node:20
|
2 |
WORKDIR /app
|
3 |
RUN git clone https://github.com/PublicAffairs/openai-gemini /app/tmp
|
4 |
+
WORKDIR /app/tmp
|
5 |
+
RUN git checkout b966409e86761db5443a5b1d7fa9f7d67fbfc55c
|
6 |
+
WORKDIR /app
|
7 |
RUN mv /app/tmp/* /app
|
8 |
RUN npm install
|
9 |
RUN sed -i 's/server.listen(port, () => {/server.listen(port, "0.0.0.0", () => {/' /app/node.mjs
|