Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -7
Dockerfile
CHANGED
@@ -1,14 +1,12 @@
|
|
1 |
-
FROM
|
2 |
|
3 |
-
RUN apt-get update && apt-get install -y
|
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 |
-
WORKDIR deeplx
|
11 |
RUN npm install
|
12 |
|
13 |
EXPOSE 9000
|
14 |
-
|
|
|
|
1 |
+
FROM node:lts
|
2 |
|
3 |
+
RUN apt-get update && apt-get install -y git
|
|
|
|
|
|
|
4 |
|
5 |
RUN git clone https://github.com/dasasdsadsww/deeplx-serverless.git deeplx
|
6 |
+
WORKDIR /deeplx
|
7 |
|
|
|
8 |
RUN npm install
|
9 |
|
10 |
EXPOSE 9000
|
11 |
+
|
12 |
+
CMD ["node", "server.js"]
|