MISASI commited on
Commit
278993f
·
verified ·
1 Parent(s): 91cd4ee

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -6
Dockerfile CHANGED
@@ -1,11 +1,14 @@
1
  FROM ubuntu:latest
2
 
3
- RUN apt-get update && apt-get install -y wget && apt-get install -y curl
4
- RUN apt-get clean && apt-get update
5
- RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - &&\
6
  RUN apt-get install -y nodejs
7
- RUN wget https://github.com/dasasdsadsww/deeplx-serverless.git -O deeplxAI
8
- RUN node server.js
 
 
 
9
 
10
  EXPOSE 7860
11
- CMD ./deeplx -p 7860
 
 
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"]