Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +9 -6
Dockerfile
CHANGED
@@ -1,11 +1,14 @@
|
|
1 |
FROM ubuntu:latest
|
2 |
|
3 |
-
RUN apt-get update && apt-get install -y wget
|
4 |
-
RUN
|
5 |
-
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - &&\
|
6 |
RUN apt-get install -y nodejs
|
7 |
-
|
8 |
-
RUN
|
|
|
|
|
|
|
9 |
|
10 |
EXPOSE 7860
|
11 |
-
|
|
|
|
1 |
FROM ubuntu:latest
|
2 |
|
3 |
+
RUN apt-get update && apt-get install -y wget curl
|
4 |
+
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
|
|
|
5 |
RUN apt-get install -y nodejs
|
6 |
+
|
7 |
+
RUN wget https://github.com/dasasdsadsww/deeplx-serverless.git -O deeplx
|
8 |
+
WORKDIR deeplx
|
9 |
+
|
10 |
+
RUN npm install
|
11 |
|
12 |
EXPOSE 7860
|
13 |
+
|
14 |
+
CMD ["node", "server.js"]
|