MISASI commited on
Commit
8b3b6c0
·
verified ·
1 Parent(s): 616803d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 wget https://github.com/dasasdsadsww/deeplx-serverless.git -O deeplx
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"]