Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +7 -14
Dockerfile
CHANGED
@@ -1,14 +1,7 @@
|
|
1 |
-
FROM node:
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
COPY
|
7 |
-
|
8 |
-
RUN npm install
|
9 |
-
|
10 |
-
EXPOSE 7860
|
11 |
-
|
12 |
-
ENV PORT=7860
|
13 |
-
|
14 |
-
CMD ["node", "index.js"]
|
|
|
1 |
+
FROM node:21
|
2 |
+
WORKDIR /usr/src/app
|
3 |
+
COPY package*.json ./
|
4 |
+
RUN git clone https://github.com/Archeb/pplx-proxy.git
|
5 |
+
RUN npm install
|
6 |
+
COPY . .
|
7 |
+
CMD [ "node", "index.js" ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|