Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
FROM
|
2 |
|
3 |
-
WORKDIR /
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
-
|
|
|
|
|
|
1 |
+
FROM node:18
|
2 |
|
3 |
+
WORKDIR /app
|
4 |
|
5 |
+
RUN npm install express express-http-proxy
|
|
|
|
|
6 |
|
7 |
COPY . .
|
8 |
|
9 |
+
EXPOSE 7860
|
10 |
+
|
11 |
+
CMD [ "node", "server.js" ]
|