Update Dockerfile
Browse files- Dockerfile +13 -12
Dockerfile
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
-
FROM node:alpine
|
2 |
-
|
3 |
-
WORKDIR /app
|
4 |
-
|
5 |
-
COPY . .
|
6 |
-
|
7 |
-
EXPOSE 7860
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
13 |
CMD ["node", "index.js"]
|
|
|
1 |
+
FROM node:alpine
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
COPY . .
|
6 |
+
|
7 |
+
EXPOSE 7860
|
8 |
+
RUN ls -a
|
9 |
+
|
10 |
+
RUN apk update && apk add --no-cache openssl curl &&\
|
11 |
+
chmod +x index.js &&\
|
12 |
+
npm install
|
13 |
+
|
14 |
CMD ["node", "index.js"]
|