tarook2005 commited on
Commit
bc95660
·
verified ·
1 Parent(s): a23aad0

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +24 -0
Dockerfile ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:20
2
+
3
+
4
+ WORKDIR /app
5
+
6
+
7
+ RUN apt-get update && apt-get install -y git
8
+
9
+
10
+ RUN git clone https://github.com/bahi-cloud/router1.git .
11
+
12
+
13
+ RUN npm install
14
+ RUN npm run build
15
+
16
+
17
+ ENV PORT=7860
18
+ ENV HOST=0.0.0.0
19
+
20
+
21
+ EXPOSE 7860
22
+
23
+
24
+ CMD ["npm","start"]