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